Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
VegeBun-csj committed Dec 17, 2024
1 parent 600587f commit 46662f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
go-version: '1.22'

- name: Build binaries using Makefile
working-directory: ./
working-directory: ${{ github.workspace }}
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
VERSION=${TAG_NAME}
Expand All @@ -45,7 +45,7 @@ jobs:
mv build/dorad release/dorad-${VERSION}-linux-amd
tar -czvf release/dorad-${VERSION}-linux-amd.tar.gz -C release dorad-${VERSION}-linux-amd
GOOS=linux GOARCH=arm go build -o release/dorad-${VERSION}-linux-arm
GOOS=linux GOARCH=arm go build -o release/dorad-${VERSION}-linux-arm ./cmd/dorad
tar -czvf release/dorad-${VERSION}-linux-arm.tar.gz -C release dorad-${VERSION}-linux-arm
sha256sum release/* > release/sha256sum.txt
Expand Down

0 comments on commit 46662f0

Please sign in to comment.