From b99ba8c10ece2ea14fc89527136842e851b88ab7 Mon Sep 17 00:00:00 2001 From: hahnec Date: Mon, 18 Mar 2024 23:52:15 +0100 Subject: [PATCH] chore(tag): use reference as tag name --- .github/workflows/gh_actions.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh_actions.yml b/.github/workflows/gh_actions.yml index 54f039c..6f4338f 100644 --- a/.github/workflows/gh_actions.yml +++ b/.github/workflows/gh_actions.yml @@ -188,6 +188,11 @@ jobs: pip install pyinstaller --upgrade plenopticam/scripts/bundling/py2exe.bat plenopticam/scripts/bundling/msi_auto-gen.bat + - name: Create tag in public repository + run: | + cd ${{github.workspace}}/plenopticam + git tag ${{ steps.get_tag.outputs.tag }} + git push --tags --porcelain - name: Create Release if: matrix.os == 'ubuntu-latest' id: create_release @@ -195,7 +200,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} + tag_name: ${{ steps.get_tag.outputs.tag }} release_name: Release ${{ github.ref }} draft: false prerelease: true