Skip to content

Commit c6598e3

Browse files
committed
add --always
1 parent ab79857 commit c6598e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/macos-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
uses: actions/checkout@v3
1616
- name: Read Tag Version
1717
run: |
18-
git describe --tags | awk -F . '{printf "RELEASE_VERSION=%s.%d",$1,$2+1}' | xargs echo > constants.env
18+
# https://stackoverflow.com/questions/4916492/git-describe-fails-with-fatal-no-names-found-cannot-describe-anything
19+
git describe --tags --always | awk -F . '{printf "RELEASE_VERSION=%s.%d",$1,$2+1}' | xargs echo > constants.env
1920
cat constants.env
2021
- name: Export Env
2122
uses: cardinalby/export-env-action@v2

0 commit comments

Comments
 (0)