File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3636 ref : gh-pages
3737
3838 # update the index file
39- - run : node insert-new-version.js ${{ steps.package-version.outputs.current-version }}
39+ - env :
40+ CURRENT_VERSION : ${{ steps.package-version.outputs.current-version }}
41+ run : node insert-new-version.js "${CURRENT_VERSION}"
4042
4143 - name : Commit updated index
4244 uses :
github-actions-x/[email protected]
Original file line number Diff line number Diff line change 99 - uses : actions/checkout@v3
1010 - name : Get changelog
1111 id : extract-changelog
12+ env :
13+ REF_NAME : ${{ github.ref_name }}
1214 run : |
1315 git fetch --tags --force
14- RELEASE_NAME="${{ github.ref_name } } $(date +'%Y-%m-%d')"
15- git tag -l --format='%(contents:body)' ${{ github.ref_name }} > next-changelog.txt
16+ RELEASE_NAME="${REF_NAME } $(date +'%Y-%m-%d')"
17+ git tag -l --format='%(contents:body)' "${REF_NAME}" > next-changelog.txt
1618 echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_OUTPUT
1719 - name : Create Release
1820 uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change 1+ Use environment variables for version and ref_name in GitHub Actions.
You can’t perform that action at this time.
0 commit comments