mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-26 15:46:58 +00:00
Runs when a release is published, on demand, and daily to rebuild the latest release when the eclipse-temurin base image digest has changed. The base digest is recorded in the org.opencontainers.image.base.name label so the daily check can compare against the published image. Requires the DOCKERHUB_TOKEN secret and DOCKERHUB_USERNAME variable.
16 lines
1.3 KiB
Markdown
16 lines
1.3 KiB
Markdown
# Releasing Heritrix
|
|
|
|
1. Update dependencies. `mvn versions:display-dependency-updates -DprocessDependencyManagementTransitive=false`
|
|
2. Prepare release notes in [CHANGELOG.md](CHANGELOG.md)
|
|
3. Run slow tests `mvn verify -DrunSlowTests=true -DrunBrowserTests=true`
|
|
4. Prepare maven release `mvn release:prepare -Prelease`
|
|
5. Perform maven release `mvn release:perform -Prelease`
|
|
6. [Publish maven deployment](https://central.sonatype.com/publishing/deployments)
|
|
7. Copy release notes from [CHANGELOG.md](CHANGELOG.md) into [Github release](https://github.com/internetarchive/heritrix3/releases)
|
|
8. Attach {dist,contrib}/target/*-dist{.tar.gz,.zip} to Github release.
|
|
```bash
|
|
version=$(git describe --tags --abbrev=0) &&
|
|
gh release upload $version target/checkout/dist/target/heritrix-$version-dist.zip target/checkout/dist/target/heritrix-$version-dist.tar.gz target/checkout/contrib/target/heritrix-contrib-$version-dist.tar.gz
|
|
```
|
|
9. Check the [Docker images workflow](https://github.com/internetarchive/heritrix3/actions/workflows/docker-image.yml) pushed the docker images. It runs when the release is published and waits for the dist tarballs from the previous step. If it failed, rerun it with `gh workflow run docker-image.yml -f version=$version`.
|
|
10. Announce in #heritrix (IIPC Slack) |