From 4c2912ce1d77ba8739f86708966794f2c57912f9 Mon Sep 17 00:00:00 2001 From: LilliaElaine <7863608+LilliaElaine@users.noreply.github.com> Date: Thu, 23 Oct 2025 02:28:45 -0400 Subject: [PATCH] add versioning to the built golang program name --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ec5efcf..a5e75f3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -26,7 +26,7 @@ jobs: run: sudo apt update && sudo apt install -y libusb-1.0-0-dev - name: Build Release - run: go build -v -ldflags "-X main.gitVersion=${{ github.ref_name }}" ./... + run: go build -v -o go-bsb-cams-v${{ github.ref_name }} -ldflags "-X main.gitVersion=${{ github.ref_name }}" ./... if: github.ref_type == 'tag' - name: Build Non-Release @@ -37,4 +37,4 @@ jobs: uses: softprops/action-gh-release@v2 if: github.ref_type == 'tag' with: - files: go-bsb-cams + files: go-bsb-cams-v*