From 86bb6792fa06ba545d2ed79187d3637806c43653 Mon Sep 17 00:00:00 2001 From: Emily McLean Date: Sun, 17 Nov 2024 00:26:25 +1100 Subject: [PATCH] Tag the correct commit --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3848f82..b3ae2ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -128,10 +128,13 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Create tag for release uses: rickstaa/action-create-tag@v1 with: tag: v${{ needs.version.outputs.version }} + commit_sha: ${{ needs.update-image.outputs.commit_hash }} - id: create_release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}