File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1919 IS_NIGHTLY : ${{ inputs.isNightly == 'Y' }}
2020 PROFILE : maxperf
2121 STABLE_VERSION : ${{ inputs.version }}
22+ TAG_NAME : stable
2223
2324jobs :
2425 prepare :
2526 name : Prepare release
2627 runs-on : ubuntu-latest
2728 timeout-minutes : 30
2829 outputs :
29- tag_name : ${{ steps.release_info.outputs.tag_name }}
30+ tag_name : ${{ env.TAG_NAME }}
3031 release_name : ${{ steps.release_info.outputs.release_name }}
3132 changelog : ${{ steps.build_changelog.outputs.changelog }}
3233 steps :
4142 echo "tag_name=nightly-${GITHUB_SHA}" >> $GITHUB_OUTPUT
4243 echo "release_name=Nightly ($(date '+%Y-%m-%d'))" >> $GITHUB_OUTPUT
4344 else
44- echo "tag_name=${GITHUB_REF_NAME }" >> $GITHUB_OUTPUT
45- echo "release_name=${GITHUB_REF_NAME }" >> $GITHUB_OUTPUT
45+ echo "tag_name=${{ env.TAG_NAME } }" >> $GITHUB_OUTPUT
46+ echo "release_name=${{ env.TAG_NAME } }" >> $GITHUB_OUTPUT
4647 fi
4748
4849 # Creates a `nightly-SHA` tag for this specific nightly
5354 if : ${{ env.IS_NIGHTLY == 'true' }}
5455 uses : actions/github-script@v7
5556 env :
56- TAG_NAME : ${{ steps.release_info.outputs.tag_name }}
57+ TAG_NAME : ${{ env.TAG_NAME }}
5758 with :
5859 script : |
5960 const createTag = require('./.github/scripts/create-tag.js')
6566 with :
6667 configuration : " ./.github/changelog.json"
6768 fromTag : ${{ env.IS_NIGHTLY == 'true' && 'nightly' || env.STABLE_VERSION }}
68- toTag : ${{ steps.release_info.outputs.tag_name }}
69+ toTag : ${{ env.TAG_NAME }}
6970 env :
7071 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7172
You can’t perform that action at this time.
0 commit comments