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.
1.3 KiB
1.3 KiB
Releasing Heritrix
- Update dependencies.
mvn versions:display-dependency-updates -DprocessDependencyManagementTransitive=false - Prepare release notes in CHANGELOG.md
- Run slow tests
mvn verify -DrunSlowTests=true -DrunBrowserTests=true - Prepare maven release
mvn release:prepare -Prelease - Perform maven release
mvn release:perform -Prelease - Publish maven deployment
- Copy release notes from CHANGELOG.md into Github release
- Attach {dist,contrib}/target/*-dist{.tar.gz,.zip} to Github release.
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 - Check the Docker images workflow 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. - Announce in #heritrix (IIPC Slack)