File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ permissions:
1010
1111jobs :
1212 github-action :
13- if : " !startsWith(github.event.name , 'v0.0.0-test- ')" # Do not run for test releases created by test-include.yml and test-exclude.yml
13+ if : " !startsWith(github.event.name , 'v0.0.0-test. ')" # Do not run for test releases created by test-include.yml and test-exclude.yml
1414 uses : cloudposse-github-actions/.github/.github/workflows/shared-release-branches.yml@main
1515 secrets : inherit
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ jobs:
2121 run : echo "result=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2222
2323 # Below is the only difference between test-include.yml (the positive counterpart of this workflow).
24- # test-release.yml will not pick up this comment because include_regex will only match a 'v0.0.0-test- include' prefix.
25- - run : gh release create v0.0.0-test- exclude.${{ steps.sha-short.outputs.result }} --prerelease --target ${{ github.sha }} --notes "Prerelease used for tests (will be automatically deleted)."
24+ # test-release.yml will not pick up this comment because include_regex will only match a 'v0.0.0-test. include' prefix.
25+ - run : gh release create v0.0.0-test. exclude.${{ steps.sha-short.outputs.result }} --prerelease --target ${{ github.sha }} --notes "Prerelease used for tests (will be automatically deleted)."
2626 env :
2727 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2828
2929 outputs :
30- release : v0.0.0-test- exclude.${{ steps.sha-short.outputs.result }}
30+ release : v0.0.0-test. exclude.${{ steps.sha-short.outputs.result }}
3131
3232 assert :
3333 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ jobs:
2020 - id : sha-short
2121 run : echo "result=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2222
23- - run : gh release create v0.0.0-test- include.${{ steps.sha-short.outputs.result }} --prerelease --target ${{ github.sha }} --notes "Prerelease used for tests (will be automatically deleted)."
23+ - run : gh release create v0.0.0-test. include.${{ steps.sha-short.outputs.result }} --prerelease --target ${{ github.sha }} --notes "Prerelease used for tests (will be automatically deleted)."
2424 env :
2525 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2626
2727 outputs :
28- release : v0.0.0-test- include.${{ steps.sha-short.outputs.result }}
28+ release : v0.0.0-test. include.${{ steps.sha-short.outputs.result }}
2929
3030 assert :
3131 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments