Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

## Release 1.5.0 - Unreleased
## Release 1.5.0 - April 21, 2023

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

Expand Down
15 changes: 12 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The project is released with the normal Maven release cycle except for the site.
https://github.com/mybatis/committers-stuff/wiki/Release-Process
2. Make sure your SSH key is setup at GitHub

## Preparation

1. Update the release date in the CHANGELOG

## Release Process

1. Clone the main repo (with ssh), checkout the master branch
Expand All @@ -27,19 +31,24 @@ in the normal release. Here's how to do it manually:
1. Clone the main repo and checkout the release tag:
- `git clone git@github.com:mybatis/mybatis-dynamic-sql.git`
- `cd mybatis-dynamic-sql`
- `git checkout mybatis-dynamic-sql-1.5.0`
- `git checkout mybatis-dynamic-sql-1.5.1`
2. `./mvnw clean site`
3. Checkout a copy of the main repo in a temp directory:
- `mkdir ~/temp/temp-mybatis`
- `cd ~/temp/temp-mybatis`
- `git clone git@github.com:mybatis/mybatis-dynamic-sql.git`
- `cd mybatis-dynamic-sql`
- `git checkout gh-pages`
4. Copy the generated site into the temp checkout:
- `cp -R <<source git>>/mybatis-dynamic-sql/target/site ~/temp/temp-mybatis/mybatis-dynamic-sql`
- `cp -R <<source git>>/mybatis-dynamic-sql/target/site/ ~/temp/temp-mybatis/mybatis-dynamic-sql`
5. Push the new site:
- `cd ~/temp/temp-mybatis/mybatis-dynamic-sql`
- `git add .`
- `git commit -m "Manual Site Update 1.5.0"`
- `git commit -m "Manual Site Update 1.5.1"`
- `git push`
6. Delete the temporary checkout
- `rm -R ~/temp/temp-mybatis`

## After Releasing

Draft a new release on GitHub and tie it to the new release tag.