Skip to content

Commit b274b81

Browse files
committed
Minor edits to the release process
1 parent c7f4a43 commit b274b81

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This log will detail notable changes to MyBatis Dynamic SQL. Full details are available on the GitHub milestone pages.
44

5-
## Release 1.5.0 - Unreleased
5+
## Release 1.5.0 - April 21, 2023
66

77
GitHub milestone: [https://github.com/mybatis/mybatis-dynamic-sql/milestone/12?closed=1](https://github.com/mybatis/mybatis-dynamic-sql/milestone/12?closed=1)
88

RELEASING.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The project is released with the normal Maven release cycle except for the site.
88
https://github.com/mybatis/committers-stuff/wiki/Release-Process
99
2. Make sure your SSH key is setup at GitHub
1010

11+
## Preparation
12+
13+
1. Update the release date in the CHANGELOG
14+
1115
## Release Process
1216

1317
1. Clone the main repo (with ssh), checkout the master branch
@@ -27,19 +31,24 @@ in the normal release. Here's how to do it manually:
2731
1. Clone the main repo and checkout the release tag:
2832
- `git clone [email protected]:mybatis/mybatis-dynamic-sql.git`
2933
- `cd mybatis-dynamic-sql`
30-
- `git checkout mybatis-dynamic-sql-1.5.0`
34+
- `git checkout mybatis-dynamic-sql-1.5.1`
3135
2. `./mvnw clean site`
3236
3. Checkout a copy of the main repo in a temp directory:
3337
- `mkdir ~/temp/temp-mybatis`
3438
- `cd ~/temp/temp-mybatis`
3539
- `git clone [email protected]:mybatis/mybatis-dynamic-sql.git`
40+
- `cd mybatis-dynamic-sql`
3641
- `git checkout gh-pages`
3742
4. Copy the generated site into the temp checkout:
38-
- `cp -R <<source git>>/mybatis-dynamic-sql/target/site ~/temp/temp-mybatis/mybatis-dynamic-sql`
43+
- `cp -R <<source git>>/mybatis-dynamic-sql/target/site/ ~/temp/temp-mybatis/mybatis-dynamic-sql`
3944
5. Push the new site:
4045
- `cd ~/temp/temp-mybatis/mybatis-dynamic-sql`
4146
- `git add .`
42-
- `git commit -m "Manual Site Update 1.5.0"`
47+
- `git commit -m "Manual Site Update 1.5.1"`
4348
- `git push`
4449
6. Delete the temporary checkout
4550
- `rm -R ~/temp/temp-mybatis`
51+
52+
## After Releasing
53+
54+
Draft a new release on GitHub and tie it to the new release tag.

0 commit comments

Comments
 (0)