File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -71,23 +71,25 @@ jobs:
7171 - name : Create Release
7272 if : steps.check_release.outputs.EXISTS == 'false'
7373 run : |
74- TAG=${{ steps.release_info.outputs.TAG }}
75- TITLE=${{ steps.release_info.outputs.TITLE }}
76- IS_PRERELEASE=${{ steps.release_info.outputs.IS_PRERELEASE }}
77- IS_LATEST=${{ steps.release_info.outputs.IS_LATEST }}
74+ TAG="${{ steps.release_info.outputs.TAG }}"
75+ TITLE="${{ steps.release_info.outputs.TITLE }}"
76+ IS_PRERELEASE="${{ steps.release_info.outputs.IS_PRERELEASE }}"
77+ IS_LATEST="${{ steps.release_info.outputs.IS_LATEST }}"
78+ NOTES="${{ steps.release_info.outputs.NOTES }}"
7879
79- CREATE_ARGS="--title '$TITLE'"
80+ # Build the gh release create command
81+ GH_CMD="gh release create '$TAG' --title '$TITLE'"
8082
8183 if [[ "$IS_PRERELEASE" == "true" ]]; then
82- CREATE_ARGS ="$CREATE_ARGS --prerelease"
84+ GH_CMD ="$GH_CMD --prerelease"
8385 fi
8486
8587 if [[ "$IS_LATEST" == "true" ]]; then
86- CREATE_ARGS ="$CREATE_ARGS --latest"
88+ GH_CMD ="$GH_CMD --latest"
8789 fi
8890
89- gh release create "$TAG" \
90- $CREATE_ARGS \
91- --notes "${{ steps.release_info.outputs.NOTES }} "
91+ GH_CMD="$GH_CMD --notes '$NOTES'"
92+
93+ eval "$GH_CMD "
9294 env :
9395 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " coursebench-frontend" ,
3- "version" : " 1.5.0 " ,
3+ "version" : " 1.5.1 " ,
44 "private" : true ,
55 "scripts" : {
66 "serve" : " vue-cli-service serve" ,
You can’t perform that action at this time.
0 commit comments