ci(release): verify the CLI zip under the edition's app id #117
No files matched your search
@@ -206,10 +206,10 @@ jobs:
|
||||
GH_REPO: ${{ github.repository }}
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force assets | Out-Null
|
||||
gh release download $env:TAG --dir assets --pattern "$env:K22_APP_ID-$env:K22_CHANNEL-Setup.exe" --pattern "$env:K22_APP_ID-$env:K22_CHANNEL-Portable.zip" --pattern "gclo-cli-win-x64-$env:K22_VERSION.zip"
|
||||
gh release download $env:TAG --dir assets --pattern "$env:K22_APP_ID-$env:K22_CHANNEL-Setup.exe" --pattern "$env:K22_APP_ID-$env:K22_CHANNEL-Portable.zip" --pattern "$env:K22_APP_ID-cli-win-x64-$env:K22_VERSION.zip"
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
Expand-Archive assets/$env:K22_APP_ID-$env:K22_CHANNEL-Portable.zip -DestinationPath assets/portable
|
||||
Expand-Archive assets/gclo-cli-win-x64-$env:K22_VERSION.zip -DestinationPath assets/cli
|
||||
Expand-Archive assets/$env:K22_APP_ID-cli-win-x64-$env:K22_VERSION.zip -DestinationPath assets/cli
|
||||
|
||||
- name: signtool verify /pa /all on every shipped executable
|
||||
shell: pwsh
|
||||
|
||||
+7
-4
@@ -33,10 +33,13 @@ the dev edition's window title reads "gclo (dev)". A machine can therefore keep
|
||||
the stable app for real work and a dev build for trying the next release; each
|
||||
only ever updates within its own channel. The dev edition's assets follow its
|
||||
app id: `gclo-dev-dev-Setup.exe`, `gclo-dev-dev-Portable.zip`,
|
||||
`gclo-dev-1.2.3-beta.1-dev-full.nupkg`, `releases.dev.json`. The CLI zip is the
|
||||
same for both (`gclo-cli-win-x64-<version>.zip`). Dev installs made before this
|
||||
split (app id `gclo` on the dev channel, up to 1.0.2-beta.3) cannot update into
|
||||
`gclo-dev`: uninstall them, or install the stable app over them.
|
||||
`gclo-dev-1.2.3-beta.1-dev-full.nupkg`, `gclo-dev-cli-win-x64-<version>.zip`,
|
||||
`releases.dev.json`. Both editions read the same Windows Credential Manager
|
||||
entries (the default token saved in one is available in the other; account
|
||||
tokens are keyed by account id, and each edition has its own accounts), so a
|
||||
dev build needs no token re-entry. Dev installs made before this split (app id
|
||||
`gclo` on the dev channel, up to 1.0.2-beta.3) cannot update into `gclo-dev`:
|
||||
uninstall them, or install the stable app over them.
|
||||
|
||||
### How self-update channels map
|
||||
|
||||
|
||||
Reference in new issue
Block a user