We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe4c3c0 commit f511ee9Copy full SHA for f511ee9
.github/workflows/release.yml
@@ -66,8 +66,8 @@ jobs:
66
GOARCH: amd64
67
run: |
68
cd sourcecode-parser
69
- for /f "tokens=*" %%i in ('git describe --tags') do set gitCommit=%%i
70
- set /p projectVersion=<VERSION
+ $gitCommit = (git describe --tags).Trim()
+ $projectVersion = Get-Content VERSION
71
go build -ldflags="-s -w -X main.Version=${projectVersion} -X main.GitCommit=${gitCommit}" -v -o pathfinder-windows-amd64.exe .
72
73
- name: Calculate SHA256
0 commit comments