File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
run : |
18
18
# https://stackoverflow.com/questions/4916492/git-describe-fails-with-fatal-no-names-found-cannot-describe-anything
19
19
# git describe --tags --always | awk -F . '{printf "RELEASE_VERSION=%s.%d",$1,$2+1}' | xargs echo > constants.env
20
- git describe --tags --always | awk '{printf "RELEASE_VERSION=%s",$0}' | xargs echo > constants.env
20
+ git describe --tags --always | awk -F - '{printf "RELEASE_VERSION=V1.0- %s",$NF}'
21
21
cat constants.env
22
22
- name : Export Env
23
23
uses : cardinalby/export-env-action@v2
37
37
id : create_release
38
38
uses : actions/create-release@v1
39
39
env :
40
- GITHUB_TOKEN : $RELEASE_VERSION
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
41
with :
42
42
tag_name : $RELEASE_VERSION
43
43
release_name : Release $RELEASE_VERSION
You can’t perform that action at this time.
0 commit comments