Compare commits

..

2 Commits

Author SHA1 Message Date
Alexa 914852a107 fix(release): use -p: not /p: so Windows publish works (#14)
Git bash on the Windows runner mangles args starting with / (MSYS path conversion), turning /p:Version=... into p:Version=... so MSBuild saw multiple projects (MSB1008). Use -p: which is shell-safe on every runner.
2026-06-16 01:16:21 +03:00
Alexa d3ca1f9297 fix(cli): exit 0 on --help so CI smoke test passes (#13)
* fix(cli): exit 0 on --help, handle parse errors cleanly

--help printed usage but returned exit code 1, failing the CI smoke test. Treat --help / -h / no-args as a successful usage print (exit 0), and catch parser ArgumentExceptions so a missing value or bad --mode exits 1 with a message instead of an unhandled crash.

* fix(cli): declare RuntimeIdentifiers so no-restore publish works

CI restores without a RID then publishes per-RID with no-restore, which failed NETSDK1047 because the assets file had no RID targets. Declaring RuntimeIdentifiers makes the RID-less restore cover all of them.
2026-06-16 01:04:45 +03:00
+4 -4
View File
@@ -126,10 +126,10 @@ jobs:
-c Release \ -c Release \
-r "${{ matrix.rid }}" \ -r "${{ matrix.rid }}" \
--self-contained true \ --self-contained true \
/p:Version="$v" \ -p:Version="$v" \
/p:AssemblyVersion="${v}.0" \ -p:AssemblyVersion="${v}.0" \
/p:FileVersion="${v}.0" \ -p:FileVersion="${v}.0" \
/p:InformationalVersion="$v" -p:InformationalVersion="$v"
- name: Package - name: Package
shell: bash shell: bash