-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: release: tweak automation script
* Change the release branch name to: release/1.x.y * Make sure the origin branch is set to upstream before pushing it.
- Loading branch information
1 parent
005dd9e
commit c3dc177
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Create release branch | ||
run: git checkout -b release/v${{ github.event.inputs.versionRelease }} | ||
run: git checkout -b release/${{ github.event.inputs.versionRelease }} | ||
- name: Update CHANGELOG | ||
run: | | ||
docker run -v $(pwd):$(pwd) ferrarimarco/github-changelog-generator --exclude-labels "skip:changelog" --breaking-labels "type:breaking" --enhancement-labels "type:enhancement","type:new-feature" --bug-labels "type:bug" -t ${{ secrets.GITHUB_TOKEN }} --user fvwmorg --project fvwm3 -o "$(pwd)/CHANGELOG.md" | ||
|
@@ -27,14 +27,14 @@ jobs: | |
commit_message: '[AUTO]: update CHANGELOG' | ||
file_pattern: CHANGELOG.md | ||
- name: Push new branch | ||
run: git push origin release/v${{ github.event.inputs.versionName }} | ||
run: git push -u origin release/v${{ github.event.inputs.versionName }} | ||
- name: Create pull request into main | ||
uses: thomaseizinger/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
head: release/v${{ github.event.inputs.versionName }} | ||
head: release/${{ github.event.inputs.versionName }} | ||
base: master | ||
title: v${{ github.event.inputs.versionRelease }} into master | ||
title: ${{ github.event.inputs.versionRelease }} into master | ||
reviewers: ${{ github.event.issue.user.login }} | ||
body: | | ||
Hello, | ||
|