summaryrefslogtreecommitdiff
path: root/.github/workflows/sign-windows-release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/sign-windows-release.yml')
-rw-r--r--.github/workflows/sign-windows-release.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/sign-windows-release.yml b/.github/workflows/sign-windows-release.yml
index a040ab43..5d1b26a4 100644
--- a/.github/workflows/sign-windows-release.yml
+++ b/.github/workflows/sign-windows-release.yml
@@ -9,7 +9,7 @@ on:
release_channel:
required: true
type: string
- rc_number:
+ prerelease_number:
required: false
type: string
default: ""
@@ -27,8 +27,6 @@ jobs:
with:
version: ${{ inputs.version }}
hamlib_branch: "4.7.2"
- release_channel: ${{ inputs.release_channel }}
- rc_number: ${{ inputs.rc_number }}
sign:
if: inputs.windows_signing != 'unsigned'
@@ -45,12 +43,13 @@ jobs:
env:
VERSION: ${{ inputs.version }}
CHANNEL: ${{ inputs.release_channel }}
- RC_NUMBER: ${{ inputs.rc_number }}
+ PRERELEASE_NUMBER: ${{ inputs.prerelease_number }}
run: |
set -euo pipefail
IDENTITY=$(python3 .github/scripts/release-policy.py classify "$VERSION")
test "$(jq -r .channel <<<"$IDENTITY")" = "$CHANNEL"
- test "$(jq -r .rc_number <<<"$IDENTITY")" = "$RC_NUMBER"
+ test "$(jq -r .prerelease_number <<<"$IDENTITY")" = "$PRERELEASE_NUMBER"
+ test "$CHANNEL" = RC || test "$CHANNEL" = GA
test "$GITHUB_REPOSITORY" = WSJTX/wsjtx
- name: Submit release signing request to SignPath
id: signpath