File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 22name : ' Create Release'
33
44on :
5- workflow_dispatch :
65 workflow_run :
76 workflows : ["Tag Release"]
87 types :
98 - completed
109
1110jobs :
1211 release :
12+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout code
1616 uses : actions/checkout@v3
1717
18- - name : Get the latest tag
19- run : |
20- git fetch --tags
21- LATEST_TAG="$(git describe --tags "$(git rev-list --tags --max-count=1)")"
22- echo "LATEST_TAG=${LATEST_TAG}" >> "$GITHUB_ENV"
23-
2418 - name : Extract TS SDK version from index.js
2519 id : extract_ts_sdk_version
2620 run : |
5852 - name : Create Release
59536054 with :
61- tag_name : ${{ env.LATEST_TAG }}
55+ tag_name : ${{ env.VERSION }}
6256 body : |
6357 ${{steps.github_release.outputs.changelog}}
6458
You can’t perform that action at this time.
0 commit comments