Release 4.2.1

Description

Release v4.2.1 of the OP plugin.

  • Verify/update plugin properties version

  • Build and tag version

  • Release nexus artifact

  • Build/deploy Javadoc

  • Release notes

  • Move to downloads

Environment

None

Activity

Henri MikkonenJanuary 28, 2025 at 4:28 PM

Move to download

cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/oidc/idp-plugin-oidc-op-distribution/4.2.1/idp-plugin-oidc-op-distribution-4.2.1.tar.gz . cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/oidc/idp-plugin-oidc-op-distribution/4.2.1/idp-plugin-oidc-op-distribution-4.2.1.tar.gz.asc . sha256sum idp-plugin-oidc-op-distribution-4.2.1.tar.gz > idp-plugin-oidc-op-distribution-4.2.1.tar.gz.sha256 sha256sum -c idp-plugin-oidc-op-distribution-4.2.1.tar.gz.sha256 sudo mkdir /home/shibwww/html/downloads/identity-provider/plugins/oidc-op/4.2.1 sudo cp -v -p idp-plugin-oidc-op-distribution-4.2.1* /home/shibwww/html/downloads/identity-provider/plugins/oidc-op/4.2.1/ sudo chown -R shibwww:shibwww /home/shibwww/html/downloads/identity-provider/plugins/oidc-op/4.2.1/ sudo chmod -R g-w /home/shibwww/html/downloads/identity-provider/plugins/oidc-op/4.2.1/

Henri MikkonenJanuary 28, 2025 at 4:13 PM

Build and deploy javadoc:

# Setup environment for the deploy script export MAVEN=/opt/apache-maven-3.9.1/bin/mvn export USERNAME=mikkonen export REPO=/tmp/mikkonen/ # checkout parent project to access the javadoc script cd /tmp git clone git@git.shibboleth.net:java-parent-project # navigate back to the OP cd java-idp-oidc/ git checkout 4.2.1 # make sure the container can reach the Nexus instances for the initial javadoc deployment ssh -l mikkonen -L 1581:127.0.0.1:1581 -N shibboleth.net -f # run deploy script ../java-parent-project/bin/build-and-deploy-javadoc.sh

Henri MikkonenJanuary 28, 2025 at 4:06 PM

Release java-idp-oidc 4.2.1

export GPG_TTY=$(tty) export REPO=/tmp/repo cd /tmp git clone git@git.shibboleth.net:java-idp-oidc.git cd java-idp-oidc/ ## test release mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify install ## update to non snapshot, use different repo if version set, so does not pollute the repo mvn -Dmaven.repo.local=/tmp/version-repo -DgenerateBackupPoms=false -DnewVersion=4.2.1 versions:set ## Check plugin.version file is correct vi idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/plugin.properties ##check build mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify install #Check no SNAPSHOT find . -name 'pom.xml' -exec grep SNAPSHOT {} \; ## check git status and add git status git add -A git commit -m 'Update files to be tagged for release' git tag -s -m "Tag 4.2.1 release" 4.2.1 #set version back mvn -Dmaven.repo.local=/tmp/version-repo -DgenerateBackupPoms=false -DnewVersion=4.2.2-SNAPSHOT versions:set # Set new plugin version to 4.2.2 vi idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/plugin.properties git add -A git commit -m 'Bump version after release' ## build version git checkout 4.2.1 mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify #deploy mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy git checkout main #commit back git push git push origin 4.2.1
Completed

Details

Assignee

Reporter

Created January 28, 2025 at 9:06 AM
Updated January 29, 2025 at 7:13 AM
Resolved January 29, 2025 at 7:13 AM

Flag notifications