mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-08-11 18:18:36 +02:00
fix: release workflow correct branch
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
- name: Create release branch
|
||||
run: |
|
||||
git checkout -B release/v${{ inputs.version }}
|
||||
git checkout -B release/${{ inputs.version }}
|
||||
|
||||
- name: Set version in flake.nix
|
||||
run: |
|
||||
@@ -42,14 +42,14 @@ jobs:
|
||||
|
||||
- name: Push branch
|
||||
run: |
|
||||
git push origin release/v${{ inputs.version }}
|
||||
git push origin release/${{ inputs.version }}
|
||||
|
||||
- name: Create Pull Request
|
||||
run: |
|
||||
gh pr create \
|
||||
--base main \
|
||||
--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 }}"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user