|
3 | 3 | 1. Make sure all build passes. You can check by `./gradlew clean build`. |
4 | 4 | 2. Make a release branch by `git switch -c release/va.b.c`. |
5 | 5 | 3. Make a prepare commit. |
6 | | - - Remove `-SNAPSHOT` postfix of `gradle.properties`. |
7 | | - - Update compatibility, example, ... of `README.md`. Boot starter compatibility can be checked in [here](https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/build.gradle). |
8 | | - - Remove `-SNAPSHOT` of `CHANGELOG.md`. |
9 | | - - Commit message: `Prepare for va.b.c`. |
| 6 | + - Remove `-SNAPSHOT` postfix of `gradle.properties`. |
| 7 | + - Update compatibility, example, ... of `README.md`. Boot starter compatibility can be checked in [here](https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/build.gradle). |
| 8 | + - Update [CHANGELOG](./CHANGELOG.md). |
| 9 | + - Commit message: `Prepare for va.b.c`. |
10 | 10 | 4. Install to local by `./gradlew clean build install --no-build-cache`. Test it with example projects. |
11 | 11 | 5. Make a tag `va.b.c`. |
12 | | - - Make a tag by `git tag va.b.c`. |
13 | | - - Push the tag by `git push origin va.b.c`. |
| 12 | + - Make a tag by `git tag va.b.c`. |
| 13 | + - Push the tag by `git push origin va.b.c`. |
14 | 14 | 6. Wait for [deploy action](https://github.com/naver/spring-batch-plus/actions/workflows/deploy.yml) to be completed. |
15 | 15 | 7. Check Staging Repositories in a [sonatype](https://oss.sonatype.org/). |
16 | | - - Click Close. |
17 | | - - Click Release. |
| 16 | + - Click Close. |
| 17 | + - Click Release. |
18 | 18 | 8. Start a new version |
19 | | - - Update version of `gradle.properties` to `a.b.c-SHAPSHOT`. |
20 | | - - Add `## a.b.c-SHAPSHOT` to `CHANGELOG.md`. |
21 | | - - Commit message: `Start next iteration`. |
| 19 | + - Update version of `gradle.properties` to `a.b.c-SHAPSHOT`. |
| 20 | + - Commit message: `Start next iteration`. |
22 | 21 | 9. Merge release branch. |
23 | | - - Merge release branch |
24 | | - - main : `git switch main && git merge release/va.b.c`. |
25 | | - - patch (a.b.x branch) : `git switch a.b.x && git merge release/va.b.c`. |
26 | | - - Delete release branch by `git branch -d release/va.b.c`. |
27 | | - - Push main to origin |
28 | | - - main : `git push origin main`. |
29 | | - - patch (a.b.x branch) : `git push origin a.b.x`. |
| 22 | + - Merge release branch |
| 23 | + - main : `git switch main && git merge release/va.b.c`. |
| 24 | + - patch (a.b.x branch) : `git switch a.b.x && git merge release/va.b.c`. |
| 25 | + - Delete release branch by `git branch -d release/va.b.c`. |
| 26 | + - Push main to origin |
| 27 | + - main : `git push origin main`. |
| 28 | + - patch (a.b.x branch) : `git push origin a.b.x`. |
30 | 29 | 10. Make a release on [github](https://github.com/naver/spring-batch-plus/releases) based on [CHANGELOG](./CHANGELOG.md). |
31 | 30 |
|
32 | 31 | ## See also |
|
0 commit comments