From 4b959cc3f482ef9b6865336af9ab3fcf5b7f97a0 Mon Sep 17 00:00:00 2001 From: Mohamed Belgaied Hassine Date: Mon, 21 Feb 2022 21:59:17 +0100 Subject: [PATCH] used github context for release name --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e58a518..50f8d1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,4 +26,4 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} binary_name: harvester - ldflags: -X main.VERSION=${RELEASE_TAG} + ldflags: -X main.VERSION=${{ github.ref_name }}