debug get version for ci

This commit is contained in:
Lifailon
2025-03-10 12:38:26 +03:00
parent e00efad3ec
commit 82fc3708ca
+1 -1
View File
@@ -139,7 +139,7 @@ jobs:
- name: Build binaries
if: ${{ github.event.inputs.Binary == 'true' }}
run: |
version=$(cat main.go | grep Version: | awk -F '"' '{print $4}')
version=$(go run main.go -v)
echo "Get version from main.go: $version"
mkdir -p bin
architectures=("amd64" "arm64")