Skip to content

Commit f72d567

Browse files
authored
Release v1.0.2 (#21)
2 parents fb21fe8 + 95cf44b commit f72d567

File tree

4 files changed

+38
-7
lines changed

4 files changed

+38
-7
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
env:
6464
PR_TITLE: Merge branch '${{ github.head_ref }}' into ${{ env.BRANCH_DEVELOP }}
6565
PR_BODY: |
66-
This PR merges the branch `${{ github.head_ref }}` back into the branch `${{ env.BRANCH_DEVELOP }}`.
66+
This PR merges the branch '${{ github.head_ref }}' back into the branch '${{ env.BRANCH_DEVELOP }}'.
6767
68-
This ensures that the updates on the branch `${{ github.head_ref }}`, i.e. CHANGELOG and manifest updates, are also present on the branch `${{ env.BRANCH_DEVELOP }}`.
68+
This ensures that the updates on the branch '${{ github.head_ref }}', i.e. CHANGELOG and manifest updates, are also present on the branch '${{ env.BRANCH_DEVELOP }}'.
6969
PR_LABEL: automated-pr
7070
run: |
7171
gh label create ${{ env.PR_LABEL }} --force

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
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.
44

5+
### [1.0.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2-rc.0...v1.0.2) (2023-02-13)
6+
7+
8+
### Bug Fixes
9+
10+
* **github-actions:** fix PR body ([4701d3a](https://github.com/ansidev/sample-gitflow-release-workflows/commit/4701d3a33ea1f9563662ac0ddeb47ceb972e66d6))
11+
512
### [1.0.2-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.7...v1.0.2-rc.0) (2023-02-13)
613

714

@@ -60,7 +67,7 @@ All notable changes to this project will be documented in this file. See [standa
6067

6168
* **github-actions:** correct syntax ([dcea1b6](https://github.com/ansidev/sample-gitflow-release-workflows/commit/dcea1b6fde978a05ca3ff8855af26600e7a9f226))
6269

63-
### 1.0.1-rc.0 (2023-02-12)
70+
### [1.0.1-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.0-rc.1...v1.0.1-rc.0) (2023-02-12)
6471

6572
### Features
6673

README.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,35 @@
11
# sample-gitflow-release-workflows
22

3-
Sample Gitflow release workflow using GitHub Actions.
3+
[![Release](https://img.shields.io/github/release/ansidev/sample-gitflow-release-workflows.svg)](https://github.com/ansidev/sample-gitflow-release-workflows/releases)
4+
[![Build Status](https://github.com/ansidev/sample-gitflow-release-workflows/workflows/release/badge.svg)](https://github.com/ansidev/sample-gitflow-release-workflows/actions)
5+
6+
Sample Gitflow release workflow using GitHub Actions and official [GitHub CLI](https://cli.github.com/manual/).
7+
8+
## Features
9+
10+
- Auto create and publish a new release on merging changes from `release/**`/`hotfix/**` into `main`.
11+
- Auto create corresponding git tag with the released version.
12+
- Auto create PR and merge changes from `release/**`/`hotfix/**` back into `develop`.
413

514
## Manual
615

7-
- Workflow definitions: [release.yaml](./.github/workflows/release.yaml)
8-
- You have to update two env variables: `BRANCH_MAIN`, `BRANCH_DEVELOP` if necessary.
16+
- Workflows
17+
18+
| Name | Description | File |
19+
| ------- | ------------------ | ------------------------------------------------ |
20+
| Release | Automate releasing | [release.yaml](./.github/workflows/release.yaml) |
21+
22+
- You have to update below env variables if necessary
23+
24+
| Environment variable | Description | Default value |
25+
| -------------------- | ---------------------- | ------------- |
26+
| BRANCH_MAIN | The main branch | `main` |
27+
| BRANCH_DEVELOP | The develop branch | `develop` |
28+
| TAG_PREFIX | The prefix for git tag | `v` |
29+
30+
## Contact
31+
32+
Le Minh Tri [@ansidev](https://ansidev.xyz/about).
933

1034
## License
1135

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.2-rc.0
1+
1.0.2

0 commit comments

Comments
 (0)