fix: release workflow correct branch

This commit is contained in:
2026-05-26 11:51:08 +02:00
parent 503dddd9be
commit f66371137a
+3 -3
View File
@@ -26,7 +26,7 @@ jobs:
- name: Create release branch - name: Create release branch
run: | run: |
git checkout -B release/v${{ inputs.version }} git checkout -B release/${{ inputs.version }}
- name: Set version in flake.nix - name: Set version in flake.nix
run: | run: |
@@ -42,14 +42,14 @@ jobs:
- name: Push branch - name: Push branch
run: | run: |
git push origin release/v${{ inputs.version }} git push origin release/${{ inputs.version }}
- name: Create Pull Request - name: Create Pull Request
run: | run: |
gh pr create \ gh pr create \
--base main \ --base main \
--head release/v${{ inputs.version }} \ --head release/v${{ inputs.version }} \
--title "[Automatic] Release PR v${{ inputs.version }}" \ --title "[Automatic] Release PR ${{ inputs.version }}" \
--body "Automated release PR.\nAfter the test's succesfull run, create manually a release with a new tag matching ${{ inputs.version }}" --body "Automated release PR.\nAfter the test's succesfull run, create manually a release with a new tag matching ${{ inputs.version }}"
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}