Release 2.0.0

Fix versions

None

Description

Release DuoOIDC plugin 2.0.0

Build and tag version
Release nexus artifacte
Build/deploy site

Environment

None

Assignee

Activity

Philip Smart September 14, 2023 at 2:16 PM

#DuoOIDC export GPG_TTY=$(tty) export REPO=/tmp/philsrepo cd /tmp git clone git@git.shibboleth.net:java-idp-plugin-duo.git cd java-idp-plugin-duo/ git checkout main #ensure plugin version is correct in vi idp-duo-nimbus-client-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/nimbus/plugin.properties vi idp-duo-sdk-client-impl/src/main/resources/net/shibboleth/idp/plugin/authn/duo/sdk/plugin.properties #ensure the keys are correct vi idp-duo-nimbus-distribution/src/main/resources/bootstrap/keys.txt vi idp-duo-sdk-distribution/src/main/resources/bootstrap/keys.txt ## ## test release mvn -Dmaven.repo.local=$REPO -Prelease clean verify ## Test enforcer mvn -Dmaven.repo.local=$REPO -Prelease,sign clean install ## update to non snapshot ### Note, versions:set may not work if too new for the parent. So do manually if required. mvn -Dmaven.repo.local=/tmp/versionset -DgenerateBackupPoms=false -DnewVersion=2.0.0 versions:set vi pom.xml ## set SNAPSHOTS to RELEASE if needed ##check build mvn -Dmaven.repo.local=$REPO -Prelease clean verify ## Test enforcer mvn -Dmaven.repo.local=$REPO -Prelease,sign clean 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 2.0.0 release" 2.0.0 #set version back mvn -Dmaven.repo.local=/tmp/versionset -DgenerateBackupPoms=false -DnewVersion=2.0.1-SNAPSHOT versions:set git add -A git commit -m 'Bump version after release' #commit back git push git push origin 2.0.0 ## build version git checkout 2.0.0 mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify mvn -Dmaven.repo.local=$REPO -Prelease,sign clean install #deploy mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy — ——— Duo OIDC cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-nimbus-dist/2.0.0/idp-plugin-duo-nimbus-dist-2.0.0.tar.gz . cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-nimbus-dist/2.0.0/idp-plugin-duo-nimbus-dist-2.0.0.tar.gz.asc . sha256sum idp-plugin-duo-nimbus-dist-2.0.0.tar.gz > idp-plugin-duo-nimbus-dist-2.0.0.tar.gz.sha256 sha256sum -c idp-plugin-duo-nimbus-dist-2.0.0.tar.gz.sha256 sudo mkdir /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/2.0.0 sudo cp -v -p idp-plugin-duo-nimbus-dist-2.0.0* /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/2.0.0 ------ WebSDK cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-sdk-dist/2.0.0/idp-plugin-duo-sdk-dist-2.0.0.tar.gz . cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-sdk-dist/2.0.0/idp-plugin-duo-sdk-dist-2.0.0.tar.gz.asc . sha256sum idp-plugin-duo-sdk-dist-2.0.0.tar.gz > idp-plugin-duo-sdk-dist-2.0.0.tar.gz.sha256 sha256sum -c idp-plugin-duo-sdk-dist-2.0.0.tar.gz.sha256 sudo cp -v -p idp-plugin-duo-sdk-dist-2.0.0* /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/2.0.0 sudo chown -v -R shibwww:shibwww /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/2.0.0/ —— SITE export GPG_TTY=$(tty) export REPO=/tmp/philsrepo cd /tmp git clone git@git.shibboleth.net:java-idp-plugin-duo.git cd java-idp-plugin-duo/ git checkout 2.0.0 mvn -Dmaven.repo.local=/tmp/repo-release -DskipTests site site:stage site:deploy # Log into shibboleth.net and: sudo /usr/local/sbin/deploy-java-site.sh java-idp-plugin-duo 2.0.0 sudo /usr/local/sbin/purge-released-sites.sh
Completed

Details

Reporter

Created September 14, 2023 at 2:09 PM
Updated September 14, 2023 at 2:17 PM
Resolved September 14, 2023 at 2:17 PM