Skip to content

Commit

Permalink
ci(github): prefix ver with "v" in artifact names
Browse files Browse the repository at this point in the history
We currently do for Windows but not Linux or macOS.
  • Loading branch information
dbohdan committed May 19, 2024
1 parent ea48b1f commit c1cdf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Add artifact name to env
run: |
printf \
'ARTIFACT_NAME=initool-%s-%s-linux-%s\n' \
'ARTIFACT_NAME=initool-v%s-%s-linux-%s\n' \
"$(cat VERSION)" \
"$(git rev-parse --short=7 HEAD)" \
"$(uname -m)" \
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Add artifact name to env
run: |
printf \
'ARTIFACT_NAME=initool-%s-%s-macos-%s-%s\n' \
'ARTIFACT_NAME=initool-v%s-%s-macos-%s-%s\n' \
"$(cat VERSION)" \
"$(git rev-parse --short=7 HEAD)" \
"$(sw_vers | awk '/ProductVersion/ { print substr($2, 1, index($2, ".") - 1) }')" \
Expand Down

0 comments on commit c1cdf0e

Please sign in to comment.