diff --git a/HISTORY.md b/HISTORY.md index 43ef0e5..013645b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,9 +1,12 @@ # look-data-hsqldb release history and change log For a full list of releases, see -github. +GitHub. -## 0.1 / xxxx-xx-xx +## 0.1 / 2024-08-20 -* Create, based upon 'The Look' database and [chinook-data-hsqldb](github.com/julianhyde/chinook-data-hsqldb) +* [[LOOK-2](issues/2)] + Release 0.1 +* [[LOOK-3](https://github.com/hydromatic/look-data-hsqldb/compare/main...julianhyde:0003-initial)] + Create, based upon 'The Look' database and [chinook-data-hsqldb](github.com/julianhyde/chinook-data-hsqldb) * Add history, howto diff --git a/HOWTO.md b/HOWTO.md index 636c963..c6047a2 100644 --- a/HOWTO.md +++ b/HOWTO.md @@ -5,7 +5,7 @@ Look Data Hsqldb. # Release -Make sure that `mvn clean install site` runs on JDK 7, 8, 9, 10, +Make sure that `mvn clean install site` runs on JDK 8, 11, 17 and 21 on Linux and Windows. Also check [Travis CI](https://travis-ci.org/hydromatic/look-data-hsqldb). @@ -13,21 +13,28 @@ Update the [release history](HISTORY.md), the version number at the bottom of [README](README.md), and the copyright date in [NOTICE](NOTICE). -Using JDK 8, do the following steps: +Switch to JDK 21. +Set up tty so that gpg can prompt for password: ``` -mvn clean -mvn release:clean +export GPG_TTY=$(tty) +``` + +Check that the sandbox is clean: +``` +./mvnw clean +./mvnw release:clean git clean -nx git clean -fx -read -s GPG_PASSPHRASE -mvn -Prelease -Dgpg.passphrase=${GPG_PASSPHRASE} release:prepare -mvn -Prelease -Dgpg.passphrase=${GPG_PASSPHRASE} release:perform +``` + +Prepare and perform: +``` +./mvnw -Prelease -DreleaseVersion=x.y.0 -DdevelopmentVersion=x.(y+1).0-SNAPSHOT release:prepare +./mvnw -Prelease release:perform ``` Then go to [Sonatype](https://oss.sonatype.org/#stagingRepositories), log in, close the repository, and release. -Make sure that the [site](http://www.hydromatic.net/look-data-hsqldb/) has been updated. - [Announce the release](https://twitter.com/julianhyde/status/622842100736856064).