[JIRA] (JDUO-69) Release 1.4.0

Philip Smart (Jira) jira at shibboleth.atlassian.net
Thu May 18 16:29:01 UTC 2023


Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 ) *commented* on JDUO-69 ( https://shibboleth.atlassian.net/browse/JDUO-69?atlOrigin=eyJpIjoiYzU4M2MzMWUzYzQyNGIzNzkxOTliNWU3ZjcxZTVmNGYiLCJwIjoiaiJ9 )

Re: Release 1.4.0 ( https://shibboleth.atlassian.net/browse/JDUO-69?atlOrigin=eyJpIjoiYzU4M2MzMWUzYzQyNGIzNzkxOTliNWU3ZjcxZTVmNGYiLCJwIjoiaiJ9 )

Release, deploy and move to downloads V1.4.0

export GPG_TTY=$(tty) 
export REPO=/tmp/philsrepo
cd /tmp
git clone git at git.shibboleth.net:java-idp-plugin-duo.git
cd java-idp-plugin-duo/

#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=1.4.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 1.4.0 release" 1.4.0

#set version back
mvn -Dmaven.repo.local=/tmp/versionset -DgenerateBackupPoms=false -DnewVersion=1.4.1-SNAPSHOT versions:set
git add -A
git commit -m 'Bump version after release'

#commit back
git push
Git push origin 1.4.0

## build version
git checkout 1.4.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/1.4.0/idp-plugin-duo-nimbus-dist-1.4.0.tar.gz .
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-nimbus-dist/1.4.0/idp-plugin-duo-nimbus-dist-1.4.0.tar.gz.asc .
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-nimbus-dist/1.4.0/idp-plugin-duo-nimbus-dist-1.4.0.zip .
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-nimbus-dist/1.4.0/idp-plugin-duo-nimbus-dist-1.4.0.zip.asc .

sha256sum idp-plugin-duo-nimbus-dist-1.4.0.tar.gz > idp-plugin-duo-nimbus-dist-1.4.0.tar.gz.sha256
sha256sum idp-plugin-duo-nimbus-dist-1.4.0.zip > idp-plugin-duo-nimbus-dist-1.4.0.zip.sha256

sha256sum -c idp-plugin-duo-nimbus-dist-1.4.0.tar.gz.sha256
sha256sum -c idp-plugin-duo-nimbus-dist-1.4.0.zip.sha256

sudo mkdir /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/1.4.0
sudo cp -v -p idp-plugin-duo-nimbus-dist-1.4.0* /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/1.4.0

------ WebSDK

cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-sdk-dist/1.4.0/idp-plugin-duo-sdk-dist-1.4.0.tar.gz .
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-sdk-dist/1.4.0/idp-plugin-duo-sdk-dist-1.4.0.tar.gz.asc .
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-sdk-dist/1.4.0/idp-plugin-duo-sdk-dist-1.4.0.zip .
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-duo-sdk-dist/1.4.0/idp-plugin-duo-sdk-dist-1.4.0.zip.asc .

sha256sum idp-plugin-duo-sdk-dist-1.4.0.tar.gz > idp-plugin-duo-sdk-dist-1.4.0.tar.gz.sha256
sha256sum idp-plugin-duo-sdk-dist-1.4.0.zip > idp-plugin-duo-sdk-dist-1.4.0.zip.sha256

sha256sum -c idp-plugin-duo-sdk-dist-1.4.0.tar.gz.sha256
sha256sum -c idp-plugin-duo-sdk-dist-1.4.0.zip.sha256

sudo cp -v -p idp-plugin-duo-sdk-dist-1.4.0* /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/1.4.0
sudo chown -v -R shibwww:shibwww /home/shibwww/html/downloads/identity-provider/plugins/duo-oidc/1.4.0/

( https://shibboleth.atlassian.net/browse/JDUO-69#add-comment?atlOrigin=eyJpIjoiYzU4M2MzMWUzYzQyNGIzNzkxOTliNWU3ZjcxZTVmNGYiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JDUO-69#add-comment?atlOrigin=eyJpIjoiYzU4M2MzMWUzYzQyNGIzNzkxOTliNWU3ZjcxZTVmNGYiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:d57183e )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230518/a9afdc63/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-5a1cf43b-45cf-42cd-823d-57ed97051677
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230518/a9afdc63/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-f16ce3d8-6a83-4c81-9106-fe4f6203b03d
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230518/a9afdc63/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-a132ed4f-36ff-4b2a-8569-63c61a10eaff
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230518/a9afdc63/attachment-0005.png>


More information about the commits mailing list