Skip to content

Commit

Permalink
updated path to variables in the nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
nida authored and nida-hasan committed Feb 14, 2024
1 parent a84051c commit a4562d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
binName="${binName}.exe"
fi
go build -o "$binName" \
-ldflags="-s -w -X 'pkg/cmd/version.Version=${version}' -X 'pkg/cmd/version.GitCommit=${gitCommit}' -X 'pkg/cmd/version.BuildTime=${buildTime}'"
-ldflags="-s -w -X 'jmm/pkg/cmd/version.Version=${version}' -X 'jmm/pkg/cmd/version.GitCommit=${gitCommit}' -X 'jmm/pkg/cmd/version.BuildTime=${buildTime}'"
- name: Generate archive
run: |
Expand Down

0 comments on commit a4562d9

Please sign in to comment.