Skip to content

Commit

Permalink
Merge pull request #1037 from s1061123/fix-buildversion
Browse files Browse the repository at this point in the history
Fix release script in github action
  • Loading branch information
squeed committed May 16, 2024
2 parents dc704d1 + 427af86 commit 3af6e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
env:
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 0
run: ./build_linux.sh
run: ./build_linux.sh -ldflags '-extldflags -static -X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=${{ github.ref_name }}'

- name: COPY files
run: cp README.md LICENSE bin/
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
env:
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 0
run: ./build_windows.sh
run: ./build_windows.sh -ldflags '-extldflags -static -X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=${{ github.ref_name }}'

- name: COPY files
run: cp README.md LICENSE bin/
Expand Down

0 comments on commit 3af6e6b

Please sign in to comment.