File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ jobs:
1010 steps :
1111 - uses : actions/checkout@v1
1212 name : Checkout Code
13- - name : Set variables
13+ - name : Get tag
1414 id : vars
15- run : echo "::set-output name=sha_short:: $(git rev-parse --short HEAD)"
15+ run : echo "::set-output name=tag::$(date +'%Y%m%d-%H%M%S')- $(git rev-parse --short HEAD)"
1616 - name : Create Release
1717 id : create_release
1818 uses : actions/create-release@v1
1919 env :
2020 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2121 with :
22- tag_name : ${{ steps.vars.outputs.sha_short }}
23- release_name : Release ${{ steps.vars.outputs.sha_short }}
22+ tag_name : ${{ steps.vars.outputs.tag }}
23+ release_name : Release ${{ steps.vars.outputs.tag }}
2424 draft : false
2525 prerelease : false
2626
You can’t perform that action at this time.
0 commit comments