Release 4.1.0

Description

Release v4.1.0 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 MikkonenApril 11, 2024 at 12:12 PM

Move to download

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

Henri MikkonenApril 11, 2024 at 12:01 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.1.0 # 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 MikkonenApril 11, 2024 at 11:56 AM

Release java-idp-oidc 4.1.0

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.1.0 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.1.0 release" 4.1.0 #set version back mvn -Dmaven.repo.local=/tmp/version-repo -DgenerateBackupPoms=false -DnewVersion=4.1.1-SNAPSHOT versions:set # Set new plugin version to 4.1.1 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.1.0 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.1.0
Completed

Details

Assignee

Reporter

Created April 10, 2024 at 1:36 PM
Updated April 11, 2024 at 1:06 PM
Resolved April 11, 2024 at 1:06 PM

Flag notifications