diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82f7b50e..78506941 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check tag uses: mukunku/tag-exists-action@v1.0.0 diff --git a/version/version.go b/version/version.go index 4310b009..4919f78d 100644 --- a/version/version.go +++ b/version/version.go @@ -1,15 +1,21 @@ -package version - -import ( - "fmt" -) - -var strVersion string - -func init() { - strVersion = fmt.Sprintf("%d.%d.%d", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) -} - -func Version() string { - return strVersion -} +package version + +import ( + "fmt" +) + +var strVersion string + +var ( + VERSION_MAJOR = 0 + VERSION_MINOR = 4 + VERSION_PATCH = 0 +) + +func init() { + strVersion = fmt.Sprintf("%d.%d.%d", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) +} + +func Version() string { + return strVersion +} diff --git a/version/version_linux.go b/version/version_linux.go index cf1ff4ab..f37d99d0 100644 --- a/version/version_linux.go +++ b/version/version_linux.go @@ -1,7 +1 @@ -package version - -var ( - VERSION_MAJOR = 0 - VERSION_MINOR = 3 - VERSION_PATCH = 0 -) +package version diff --git a/version/version_windows.go b/version/version_windows.go index 7e21caf8..de54fc08 100644 --- a/version/version_windows.go +++ b/version/version_windows.go @@ -3,9 +3,3 @@ //go:generate cmd /c "move /y resource.syso ..\\resource.syso" package version - -var ( - VERSION_MAJOR = 0 - VERSION_MINOR = 3 - VERSION_PATCH = 0 -) diff --git a/version/versioninfo.json b/version/versioninfo.json index 98c5be80..cc38a6f3 100644 --- a/version/versioninfo.json +++ b/version/versioninfo.json @@ -2,23 +2,23 @@ "FixedFileInfo": { "FileVersion": { "Major": 0, - "Minor": 3, + "Minor": 4, "Patch": 0, "Build": 0 }, "ProductVersion": { "Major": 0, - "Minor": 3, + "Minor": 4, "Patch": 0, "Build": 0 } }, "StringFileInfo": { "FileDescription": "QPep - High-latency network accelerator", - "FileVersion": "v0.3.0.0", + "FileVersion": "v0.4.0.0", "InternalName": "qpep.exe", "ProductName": "QPep", - "ProductVersion": "v0.3.0", + "ProductVersion": "v0.4.0", "SpecialBuild": "" }, "IconPath": "../qpep-tray/icons/main_icon_connected.ico"