Skip to content

Commit

Permalink
fix release versioning generation
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Mar 10, 2023
1 parent eba02c2 commit cf5d2d2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ jobs:
go clean -cache
COPY /Y windivert\x64\* build\64bits
# - name: Update version resource
# run: |
# go install github.com/josephspurrier/goversioninfo
# go generate github.com/parvit/qpep/version
#
- name: Update version resource
run: |
git clone https://github.com/josephspurrier/goversioninfo
cd goversioninfo && go build -o /usr/local/bin/goversioninfo
go generate github.com/parvit/qpep/version
- name: Build QPep x64
run: |
set GOARCH=amd64
Expand Down
25 changes: 25 additions & 0 deletions version/versioninfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"FixedFileInfo": {
"FileVersion": {
"Major": 0,
"Minor": 2,
"Patch": 1,
"Build": 0
},
"ProductVersion": {
"Major": 0,
"Minor": 2,
"Patch": 1,
"Build": 0
}
},
"StringFileInfo": {
"FileDescription": "QPep - High-latency network accelerator",
"FileVersion": "v0.2.1.0",
"InternalName": "qpep.exe",
"ProductName": "QPep",
"ProductVersion": "v0.2.1",
"SpecialBuild": ""
},
"IconPath": "../qpep-tray/icons/main_icon_connected.ico"
}

0 comments on commit cf5d2d2

Please sign in to comment.