-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Release Candidate - v4.31.1 (Hotfix) (#412)
* fix: add missing translations and fix parsability --------- Co-authored-by: Conventional Changelog Action <[email protected]>
- Loading branch information
Showing
6 changed files
with
20 additions
and
9 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 |
---|---|---|
|
@@ -17,19 +17,19 @@ jobs: | |
ref: release | ||
# It would be easier to create the branch from develop, | ||
# but unfortunately the script that creates the PR's only considers commits added during the action run | ||
- name: Merge latest from develop | ||
- name: Merge latest from target branch | ||
run: | | ||
git config --global user.name 'Release Script' | ||
git config --global user.email '[email protected]' | ||
git fetch origin develop | ||
git merge origin/develop | ||
git fetch origin ${{ github.ref_name }} | ||
git merge origin/${{ github.ref_name }} | ||
yarn && yarn i18next | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} | ||
|
||
- name: Generate changelog | ||
id: changelog | ||
uses: TriPSs/conventional-changelog-action@v3 | ||
uses: TriPSs/conventional-changelog-action@v4.1.1 | ||
with: | ||
github-token: ${{ secrets.ACTION_TOKEN }} | ||
release-count: 0 | ||
|
@@ -43,8 +43,8 @@ jobs: | |
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.ACTION_TOKEN }} | ||
title: ${{ steps.changelog.outputs.tag }} Release Candidate | ||
title: Release Candidate - ${{ steps.changelog.outputs.tag }}${{ github.ref_name != 'develop' && ' (Hotfix)' || ''}} | ||
base: release | ||
branch: release-candidate | ||
branch: ${{ github.ref_name == 'develop' && 'release-candidate' || 'hotfix-release-candidate' }} | ||
body: ${{ steps.changelog.outputs.clean_changelog }} | ||
labels: release-candidate | ||
labels: ${{github.ref_name == 'develop' && 'release-candidate' || 'release-candidate,hotfix'}} |
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
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
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
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
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