File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,14 +140,15 @@ jobs:
140140 - name : Update rolling canary pre-release
141141 env :
142142 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
143+ SHA : ${{ github.sha }}
143144 TAG : ${{ steps.canary-meta.outputs.tag }}
144145 TITLE : ${{ steps.canary-meta.outputs.title }}
145146 NOTES_FILE : ${{ steps.canary-meta.outputs.notes_file }}
146147 run : |
147148 set -euo pipefail
148149 if gh release view "$TAG" >/dev/null 2>&1; then
149150 gh release upload "$TAG" octi-server-canary.zip --clobber
150- gh release edit "$TAG" --title "$TITLE" --notes-file "$NOTES_FILE" --prerelease --target "$TAG"
151+ gh release edit "$TAG" --title "$TITLE" --notes-file "$NOTES_FILE" --prerelease
151152 else
152- gh release create "$TAG" octi-server-canary.zip --title "$TITLE" --notes-file "$NOTES_FILE" --prerelease --target "$TAG"
153+ gh release create "$TAG" octi-server-canary.zip --title "$TITLE" --notes-file "$NOTES_FILE" --prerelease --target "$SHA" --verify-tag
153154 fi
You can’t perform that action at this time.
0 commit comments