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
|
- 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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user