Skip to content

Commit

Permalink
fix: try a new way of injecting the version
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Nov 30, 2024
1 parent b424ba0 commit 295690d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
GOARCH: ${{ matrix.goarch }}
run: |
VERSION=${GITHUB_REF#refs/tags/}
go build -v -ldflags="-X main.version=${VERSION}" -o pipe-${{ matrix.os }}-${{ matrix.arch }}
go build -v -ldflags="-X github.com/bjarneo/pipe/internal/config.version=${VERSION}" -o pipe-${{ matrix.os }}-${{ matrix.arch }}
chmod +x pipe-${{ matrix.os }}-${{ matrix.arch }}
- name: Generate SHA-256
run: |
Expand Down

0 comments on commit 295690d

Please sign in to comment.