Merge pull request #69 from theupriser/bugfix/iso-dispatch-ref

fix(ci): main starts a real ISO release, a release branch a dev ISO
This commit is contained in:
theupriser authored and GitHub committed 2026-09-30 11:41:40 +02:00
commit 2321f41195
2 files changed
+13 -7

No files matched your search

+12 -7
View File
@@ -192,14 +192,18 @@ jobs:
dist/steamify-app.tar.gz dist/steamify-app.tar.gz
assets/steam-gaming-settings.svg assets/steam-gaming-settings.svg
# A new Steamify release starts the Steamify ISO's release with it (a test build from the ISO repo's # A new version starts the Steamify ISO's release of the ISO repo: its iso-1-github-tag.yml (always run from
# feat/steamify, until that is its master): its iso-1-github-tag.yml names it after this version, tags it, # master) names the ISO after the newest Steamify release, tags it, and the Gitea mirror builds and attaches the ISO.
# and the Gitea mirror builds and attaches the ISO. Needs a fine-grained token for that repo # The branch here decides the kind of build (the workflow's input `kind`):
# (Actions: read and write) as the secret ISO_DISPATCH_TOKEN; without it, this is skipped. # main (publishes the release) -> release: a real ISO (tag v<steamify>-<date>)
# release/** (a version not yet released) -> dev: a pre-release (tag v<steamify>-dev.<date>)
# Needs a fine-grained token for that repo (Actions: read and write) as the secret ISO_DISPATCH_TOKEN;
# without it, this is skipped.
- name: Start the Steamify ISO's release - name: Start the Steamify ISO's release
if: >- if: >-
github.server_url == 'https://github.com' && github.server_url == 'https://github.com' &&
github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' &&
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) &&
steps.version.outputs.released == 'false' steps.version.outputs.released == 'false'
env: env:
GH_TOKEN: ${{ secrets.ISO_DISPATCH_TOKEN }} GH_TOKEN: ${{ secrets.ISO_DISPATCH_TOKEN }}
@@ -207,5 +211,6 @@ jobs:
if [ -z "$GH_TOKEN" ]; then if [ -z "$GH_TOKEN" ]; then
echo "::notice::No ISO_DISPATCH_TOKEN: the Steamify ISO isn't released with this version."; exit 0 echo "::notice::No ISO_DISPATCH_TOKEN: the Steamify ISO isn't released with this version."; exit 0
fi fi
gh workflow run iso-1-github-tag.yml -R theupriser/steamify-cachyos-live-iso --ref feat/steamify if [ "$GITHUB_REF" = refs/heads/main ]; then kind=release; else kind=dev; fi
echo "Started the Steamify ISO's release (theupriser/steamify-cachyos-live-iso, feat/steamify)" gh workflow run iso-1-github-tag.yml -R theupriser/steamify-cachyos-live-iso --ref master -f kind="$kind"
echo "Started the Steamify ISO's release (theupriser/steamify-cachyos-live-iso, master, kind $kind)"
+1
View File
@@ -7,6 +7,7 @@ one per merged pull request.
## 2.9.6 - 2026-09-30 ## 2.9.6 - 2026-09-30
- **fix(ci): a version published from main starts a real ISO release, a version on a release branch a dev ISO: the ISO workflow always runs from the ISO repo's master and gets the kind as an input (it always started the dev one from feat/steamify)**
- **chore: Version 2.9.6** - **chore: Version 2.9.6**
## 2.9.5 - 2026-09-30 ## 2.9.5 - 2026-09-30