Skip to content

Commit

Permalink
correct ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Aug 7, 2023
1 parent 15181e3 commit 5c372b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: go build -ldflags="-X main.CliVersion=${{ github.ref_name }}" ./cli/viam
run: go build -ldflags="-X 'go.viam.com/rdk/config.Version=${{ github.ref_name }}'" ./cli/viam

- name: Authorize GCP Upload
uses: google-github-actions/auth@v1
Expand Down

0 comments on commit 5c372b8

Please sign in to comment.