Skip to content

Commit

Permalink
fixed err
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayd-san committed Dec 19, 2024
1 parent 49baa9d commit ea857a9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
run: go build -o gmd_linux_amd64 .

- name: Store version info
run: echo "version=$(./gmd_linux_amd64 -v | cut --delimiter ' ' --fields 3)" >> $GITHUB_ENV
run: echo "version=v$(./gmd_linux_amd64 -v | cut --delimiter ' ' --fields 3)" >> $GITHUB_ENV

- name: Tar artifact
run: tar czf gmd_linux_amd64_${version}.tar.gz gmd_linux_amd64
run: tar czf gomanagedocker_linux_amd64_${version}.tar.gz gmd_linux_amd64

- name: Upload linux assets
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -63,12 +63,12 @@ jobs:
run: env GOOS=darwin GOARCH=amd64 go build -o gmd_darwin_arm64 .

- name: Store version info
run: echo "version=$(./gmd_darwin_amd64 -v | cut --delimiter ' ' --fields 3)" >> $GITHUB_ENV
run: echo "version=v$(./gmd_darwin_amd64 -v | cut -d ' ' -f 3)" >> $GITHUB_ENV

- name: Tar artifact
run: |
tar czf gmd_darwin_amd64_${version}.tar.gz gmd_darwin_amd64
tar czf gmd_darwin_arm64_${version}.tar.gz gmd_darwin_arm64
tar czf gomanagedocker_darwin_amd64_${version}.tar.gz gmd_darwin_amd64
tar czf gomanagedocker_darwin_arm64_${version}.tar.gz gmd_darwin_arm64
- name: Upload darwin assets
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit ea857a9

Please sign in to comment.