This repository was archived by the owner on Dec 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -2,30 +2,30 @@ name: Tag creation
22
33on :
44 push :
5- tags:
6- - v*
5+ tags :
6+ - v*
77
88jobs :
99 release :
10- runs-on: ubuntu-latest
10+ runs-on : ubuntu-latest
1111
12- steps:
13- - name: Get the version
14- id: version
15- run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
16- shell: bash
12+ steps :
13+ - name : Get the version
14+ id : version
15+ run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
16+ shell : bash
1717
18- - uses: apexskier/github-semver-parse@v1
19- id: semver
20- with:
21- version: ${{ steps.version.outputs.VERSION }}
18+ - uses : apexskier/github-semver-parse@v1
19+ id : semver
20+ with :
21+ version : ${{ steps.version.outputs.VERSION }}
2222
23- - name: Release
24- if: ${{ steps.semver.outputs.version }}
25- uses: actions/create-release@v1
26- env:
27- GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
28- with:
29- tag_name: ${{ steps.version.outputs.VERSION }}
30- release_name: ${{ steps.version.outputs.VERSION }}
31- prerelease: ${{ !!steps.semver.outputs.prerelease }}
23+ - name : Release
24+ if : ${{ steps.semver.outputs.version }}
25+ uses : actions/create-release@v1
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.RELEASE_GH_TOKEN }}
28+ with :
29+ tag_name : ${{ steps.version.outputs.VERSION }}
30+ release_name : ${{ steps.version.outputs.VERSION }}
31+ prerelease : ${{ !!steps.semver.outputs.prerelease }}
You can’t perform that action at this time.
0 commit comments