Skip to content

Commit 338bab2

Browse files
committed
write env to constants.env file
1 parent 2c6102d commit 338bab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/macos-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: |
1818
# https://stackoverflow.com/questions/4916492/git-describe-fails-with-fatal-no-names-found-cannot-describe-anything
1919
# git describe --tags --always | awk -F . '{printf "RELEASE_VERSION=%s.%d",$1,$2+1}' | xargs echo > constants.env
20-
git describe --tags --always | awk -F - '{printf "RELEASE_VERSION=V1.0-%s",$NF}'
20+
git describe --tags --always | awk -F - '{printf "RELEASE_VERSION=V1.0-%s",$NF}' | xargs echo > constants.env
2121
cat constants.env
2222
- name: Export Env
2323
uses: cardinalby/export-env-action@v2

0 commit comments

Comments
 (0)