Skip to content

Commit

Permalink
Hotfix v1.1.0-rc.2 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansidev authored Feb 14, 2023
2 parents 0329be1 + b778030 commit 1c21b8f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto_merge_release_hotfix_into_develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
if: startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'hotfix/')

steps:
- name: Set GitHub token
run: |
echo "GH_TOKEN=${{ secrets.GH_TOKEN }}" >> $GITHUB_ENV
- name: Merge PR
env:
PR_NUMBER: ${{ github.event.number }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft_release_hotfix_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
PR_LABELS="automated-pr,${RELEASE_TYPE}-pr"
[[ ${PRE_RELEASE:false} == "true" ]] && ( gh label create 'pre-release' --force && PR_LABELS="$PR_LABELS,pre-release" )
[[ ${PRE_RELEASE:false} == "true" ]] && gh label create 'pre-release' --force && PR_LABELS="$PR_LABELS,pre-release"
for LABEL in $(echo $PR_LABELS | sed "s/,/ /g"); do gh label create $LABEL --force; done
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.1.0-rc.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.1...v1.1.0-rc.2) (2023-02-14)

### Bug Fixes

* **workflow-auto-merge-release-hotfix-into-develop:** set environment variable `GH_TOKEN` ([5e57d0e](https://github.com/ansidev/sample-gitflow-release-workflows/commit/5e57d0e99cf383b1926b8d263a90c128009046e6))
* **workflow-draft-release-hotfix-pr:** fix PR is missing label `pre-release` ([9c63f52](https://github.com/ansidev/sample-gitflow-release-workflows/commit/9c63f522430ddc3e689081f4df5345be5fdd3494))

### Documentations

* **readme:** add reference documentations ([3c310e3](https://github.com/ansidev/sample-gitflow-release-workflows/commit/3c310e3d591481b7c7d8daa748a8f838c0702dd5))

## [1.1.0-rc.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.0...v1.1.0-rc.1) (2023-02-14)

### Features
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ Sample Gitflow release workflow using GitHub Actions and official [GitHub CLI](h
| BRANCH_DEVELOP | The develop branch | `develop` |
| TAG_PREFIX | The prefix for git tag | `v` |

**Note**: If you don't use the above default values, you have to update corresponding values for the workflow(s).

## Reference documentations

- [Events that trigger workflows](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows).
- [Webhook events and payloads](https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads).

## Contact

Le Minh Tri [@ansidev](https://ansidev.xyz/about).
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0-rc.1
1.1.0-rc.2

0 comments on commit 1c21b8f

Please sign in to comment.