Skip to content

Commit

Permalink
chore: clean up release job (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct authored Nov 3, 2023
1 parent 7ca79c0 commit eb26a3b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,14 @@ jobs:
readonly tag_name="$(cat ref_name.txt)"
echo "$tag_name"
mkdir polycli_${tag_name}_darwin_amd64/
mv darwin-amd64-polycli polycli_${tag_name}_darwin_amd64/polycli
tar czf polycli_${tag_name}_darwin_amd64.tar.gz polycli_${tag_name}_darwin_amd64/
mkdir polycli_${tag_name}_darwin_arm64/
mv darwin-arm64-polycli polycli_${tag_name}_darwin_arm64/polycli
tar czf polycli_${tag_name}_darwin_arm64.tar.gz polycli_${tag_name}_darwin_arm64/
mkdir polycli_${tag_name}_linux_arm64/
mv linux-arm64-polycli polycli_${tag_name}_linux_arm64/polycli
tar czf polycli_${tag_name}_linux_arm64.tar.gz polycli_${tag_name}_linux_arm64/
mkdir polycli_${tag_name}_linux_amd64/
mv linux-amd64-polycli polycli_${tag_name}_linux_amd64/polycli
tar czf polycli_${tag_name}_linux_amd64.tar.gz polycli_${tag_name}_linux_amd64/
mkdir polycli_${tag_name}_linux_arm64/
mv linux-arm64-polycli polycli_${tag_name}_linux_arm64/polycli
tar czf polycli_${tag_name}_linux_arm64.tar.gz polycli_${tag_name}_linux_arm64/
- name: Publish binaries
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit eb26a3b

Please sign in to comment.