From f00a959db34da941782afe539cf20a29ff026e5f Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Mon, 29 Apr 2024 12:06:34 +0800 Subject: [PATCH] fix: the version tag was incorrectly written --- .github/workflows/release-macos.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-macos.yaml b/.github/workflows/release-macos.yaml index a5238bd..6adfc00 100644 --- a/.github/workflows/release-macos.yaml +++ b/.github/workflows/release-macos.yaml @@ -82,7 +82,7 @@ jobs: shell: bash run: | CGO_ENABLED=1 wails build -platform ${{ matrix.platform }} \ - -ldflags "-X main.version=${{ github.event.release.tag_name }} -X main.gaMeasurementID=${{ secrets.GA_MEASUREMENT_ID }} -X main.gaSecretKey=${{ secrets.MAC_GA_SECRET }}" + -ldflags "-X main.version=${{ steps.normalise_version.outputs.version }} -X main.gaMeasurementID=${{ secrets.GA_MEASUREMENT_ID }} -X main.gaSecretKey=${{ secrets.MAC_GA_SECRET }}" # - name: Notarise macOS app + create dmg # shell: bash