Skip to content

Commit

Permalink
Updates release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
ksysoev committed Oct 14, 2023
1 parent 159ced0 commit 6fc9ee7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- name: Build Linux
run: GOOS=linux GOARCH=amd64 go build -buildmode=exe -o ./wsget ./cmd/wsget
- name: Compress Linux
run: tar -czvf ./wsget$(git describe --tags --abbrev=0).linux-amd64.tar.gz ./wsget ./LICENSE ./README.md
run: tar -czvf ./wsget-$(git describe --tags --abbrev=0).linux-amd64.tar.gz ./wsget ./LICENSE ./README.md
- name: Build MacOS (Intel)
run: GOOS=darwin GOARCH=amd64 go build -buildmode=exe -o ./wsget ./cmd/wsget
- name: Compress MacOS (Intel)
run: tar -czvf ./wsget$(git describe --tags --abbrev=0).linux-amd64.tar.gz ./wsget ./LICENSE ./README.md
run: tar -czvf ./wsget-$(git describe --tags --abbrev=0).darwin-amd64.tar.gz ./wsget ./LICENSE ./README.md
- name: Build MacOS (M)
run: GOOS=darwin GOARCH=arm64 go build -buildmode=exe -o ./wsget ./cmd/wsget
- name: Compress MacOS (M)
run: tar -czvf ./wsget$(git describe --tags --abbrev=0).linux-amd64.tar.gz ./wsget ./LICENSE ./README.md
run: tar -czvf ./wsget-$(git describe --tags --abbrev=0).darwin-arm64.tar.gz ./wsget ./LICENSE ./README.md
- name: Copy build-artifacts
uses: skx/github-action-publish-binaries@master
env:
Expand Down

0 comments on commit 6fc9ee7

Please sign in to comment.