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