mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-22 13:47:02 +00:00
1.8 KiB
1.8 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 - Build docker images (from the dist tarballs uploaded to the Github release in the previous step):
version=$(git describe --tags --abbrev=0) && podman manifest create iipc/heritrix:$version && podman build --build-arg version=$version --platform linux/amd64,linux/arm64 --manifest iipc/heritrix:$version docker && podman manifest push --all iipc/heritrix:$version && podman manifest push --all iipc/heritrix:$version iipc/heritrix:latest && podman manifest create iipc/heritrix:$version-contrib && podman build --build-arg version=$version --target contrib --platform linux/amd64,linux/arm64 --manifest iipc/heritrix:$version-contrib docker && podman manifest push --all iipc/heritrix:$version-contrib && podman manifest push --all iipc/heritrix:$version-contrib iipc/heritrix:contrib - Announce in #heritrix (IIPC Slack)