Skip to content

Commit ab79857

Browse files
committed
update macos yml
1 parent 6f5ca23 commit ab79857

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/macos-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ jobs:
1515
uses: actions/checkout@v3
1616
- name: Read Tag Version
1717
run: |
18-
v=$(echo $(git describe --tags) | awk -F . '{printf "%s.%d",$1,$2+1}')
19-
echo "RELEASE_VERSION=$v"
20-
echo "RELEASE_VERSION=$v" > constants.env
18+
git describe --tags | awk -F . '{printf "RELEASE_VERSION=%s.%d",$1,$2+1}' | xargs echo > constants.env
19+
cat constants.env
2120
- name: Export Env
2221
uses: cardinalby/export-env-action@v2
2322
with:

0 commit comments

Comments
 (0)