Skip to content

Commit

Permalink
Fix embedded version number on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eandre committed Mar 20, 2023
1 parent 124acd9 commit 2a30d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/make-release/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if exist .deps\prepared goto :build
x86_64-w64-mingw32-windres -I ".deps\wintun\bin\amd64" -i resources.rc -o "%ROOT%\cli\cmd\encore\resources_amd64.syso" -O coff -c 65001 || exit /b %errorlevel%
set GOARCH=amd64
echo [+] Building
go build -tags load_wintun_from_rsrc -ldflags "-X 'encr.dev/cli/internal/version.Version=v%ENCORE_VERSION%'" -o "%DST%\bin\encore.exe" "%ROOT%\cli\cmd\encore" || exit /b 1
go build -tags load_wintun_from_rsrc -ldflags "-X 'encr.dev/internal/version.Version=v%ENCORE_VERSION%'" -o "%DST%\bin\encore.exe" "%ROOT%\cli\cmd\encore" || exit /b 1
go build -trimpath -o "%DST%\bin\git-remote-encore.exe" "%ROOT%\cli\cmd\git-remote-encore" || exit /b 1
goto :eof

Expand Down

0 comments on commit 2a30d5a

Please sign in to comment.