diff --git a/.github/workflows/nightly-dmg.yml b/.github/workflows/nightly-dmg.yml index c90cc7d..bd93876 100644 --- a/.github/workflows/nightly-dmg.yml +++ b/.github/workflows/nightly-dmg.yml @@ -4,6 +4,12 @@ on: schedule: - cron: '0 4 * * *' workflow_dispatch: + inputs: + version: + description: 'Version to bake into Info.plist and artifact names (defaults to nightly 150.0.1)' + required: false + default: '150.0.1' + type: string push: branches: [main] paths: @@ -24,7 +30,11 @@ jobs: env: MOZBUILD_STATE_PATH: ${{ github.workspace }}/.mozbuild - VERSION: 150.0.1 + # A workflow_dispatch input overrides the nightly default; every other + # trigger (schedule, push) still ships a dev-versioned artifact. This + # closes the "release artifacts carry nightly version 150.0.1" root + # cause behind the plist-version-equals-tag gate rejection. + VERSION: ${{ inputs.version || '150.0.1' }} RELEASE: 1 PROFILE: human-secure diff --git a/.github/workflows/nightly-linux.yml b/.github/workflows/nightly-linux.yml index 0cb62dd..95af0fc 100644 --- a/.github/workflows/nightly-linux.yml +++ b/.github/workflows/nightly-linux.yml @@ -4,6 +4,12 @@ on: schedule: - cron: '0 5 * * *' workflow_dispatch: + inputs: + version: + description: 'Version to bake into artifact names + Info metadata (defaults to nightly 150.0.1)' + required: false + default: '150.0.1' + type: string push: # anti-fingerprint-verify added so the compile can be triggered on this branch # (workflow_dispatch only works from the default branch, which is behind). @@ -69,7 +75,10 @@ jobs: env: MOZBUILD_STATE_PATH: ${{ github.workspace }}/.mozbuild - VERSION: 150.0.1 + # workflow_dispatch input overrides for release cuts; other triggers get + # the nightly default. Root cause of the "release ships nightly version" + # bug that promotion-gate now catches. + VERSION: ${{ inputs.version || '150.0.1' }} RELEASE: 1 PROFILE: human-secure