Skip to content

Commit

Permalink
add version to release
Browse files Browse the repository at this point in the history
  • Loading branch information
clbx committed Jul 12, 2024
1 parent f4f2398 commit ec31ffc
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 @@ -18,7 +18,7 @@ jobs:
uses: actions/[email protected]

- name: Build
run: go build -v -o kubectl-browse-pvc .
run: go build -v -ldflags "-X main.Version=${{ github.ref_name }}" -o kubectl-browse-pvc .

- name: Fix permissions
run: chmod +x ./kubectl-browse-pvc
Expand All @@ -42,7 +42,7 @@ jobs:
uses: actions/[email protected]

- name: Build
run: go build -v -o kubectl-browse-pvc .
run: go build -v -ldflags "-X main.Version=${{ github.ref_name }}" -o kubectl-browse-pvc .

- name: Fix permissions
run: chmod +x ./kubectl-browse-pvc
Expand Down

0 comments on commit ec31ffc

Please sign in to comment.