From ed43306a820dfd41468a1c3c01bb4c5212f1a8f5 Mon Sep 17 00:00:00 2001 From: Paul Gellai Date: Mon, 20 Mar 2023 14:02:05 -0700 Subject: [PATCH] update pipeline --- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6154e00..8134b10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: go-version: ">=1.19.7" - name: Go Build - run: go build -o ./win-build/ssh-sync.exe + run: go build -o ./win-build/ssh-sync.exe -ldflags "-X main.version=${{github.ref_name}}" shell: powershell - name: Inno Build diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 89f8f03..c8e87c8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,4 +47,4 @@ jobs: with: go-version: ">=1.19.7" - name: Go Build - run: go build -o ssh-sync + run: go build -o ssh-sync -ldflags "-X main.version=${{github.ref_name}}"