[JIRA] (JDUO-64) Release 1.3.0

Philip Smart (Jira) jira at shibboleth.atlassian.net
Thu Nov 17 15:24:13 UTC 2022


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

Re: Release 1.3.0 ( https://shibboleth.atlassian.net/browse/JDUO-64?atlOrigin=eyJpIjoiM2ZjZThkZTUzMzFmNDNkZWFjMjQwNzRjZTE1M2Q2ZTQiLCJwIjoiaiJ9 )

Build and release DuoOIDC plugin 1.3.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

## 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=$REPO -DgenerateBackupPoms=false -DnewVersion=1.3.0 versions:set
vi pom.xml
## set SNAPSHOTS to RELEASE if needed

##check build
mvn -Dmaven.repo.local=$REPO -Prelease clean verify

#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.3.0 release" 1.3.0

#set version back
mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=1.3.1-SNAPSHOT versions:set
git add -A
git commit -m 'Bump version after release'

#commit back
git push
Git push origin 1.3.0

## build version
git checkout 1.3.0
mvn -Dmaven.repo.local=$REPO -Pelease,sign clean verify
#deploy
mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy

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

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#100210- sha1:9b34d7c )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20221117/b72a56ac/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-f1369714-222c-4cf4-ab5f-7711d75e651a
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221117/b72a56ac/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-693bf314-8580-47cd-acbc-c589034a0f54
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221117/b72a56ac/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-ab5ab166-b7a2-4190-8a48-ac783801a0c6
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221117/b72a56ac/attachment-0005.png>


More information about the commits mailing list