From 6d02ef17ca5f817ad45854867166cf65424ffa98 Mon Sep 17 00:00:00 2001 From: Mihails Delmans Date: Wed, 8 Jan 2025 15:08:59 +0000 Subject: [PATCH] Fix fake bug 5 --- .github/workflows/release.yml | 4 +--- features.md | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65c19d6..919fe78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,15 +22,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Print github ref - run: echo "$GITHUB_REF" - name: Gitflow action uses: hoangvvo/gitflow-workflow-action@0.3.7 with: develop_branch: "fake_develop" main_branch: "fake_main" version: ${{ inputs.version }} - version_increment: ${{ contains(github.ref, 'refs/heads/hotfix/') && 'patch' || '' }} + version_increment: ${{ contains(github.head_ref, 'refs/heads/hotfix/') && 'patch' || '' }} dry_run: ${{ inputs.dry_run }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/features.md b/features.md index 1a06fbd..e3418fb 100644 --- a/features.md +++ b/features.md @@ -5,3 +5,4 @@ # Hotfix 2 # Hotfix 3 # Hotfix 4 +# Hotfix 5