From 5d396b9f2529dd192af0c313fd61af58fc64fb9f Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 15 Oct 2022 09:31:29 +1300 Subject: [PATCH] Update build workflow --- .github/workflows/release-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 26a2e9e..38e8c02 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -23,6 +23,7 @@ jobs: steps: - uses: actions/checkout@v3 + # @TODO: replace deprecated action with ${{ github.ref_name }} - name: Get tag id: tag uses: dawidd6/action-get-tag@v1 @@ -32,6 +33,7 @@ jobs: with: node-version: 16 cache: 'npm' + - run: echo "Building assets for ${{ github.ref_name }}" - run: npm install - run: npm run package @@ -46,4 +48,5 @@ jobs: asset_name: mailpit-${{ matrix.goos }}-${{ matrix.goarch }} extra_files: LICENSE README.md md5sum: false + overwrite: true ldflags: -w -X "github.com/axllent/mailpit/config.Version=${{ steps.tag.outputs.tag }}"