[JIRA] (JCOMOIDC-69) Release 2.2.0

Philip Smart (Jira) jira at shibboleth.atlassian.net
Fri May 12 10:31:06 UTC 2023


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

Re: Release 2.2.0 ( https://shibboleth.atlassian.net/browse/JCOMOIDC-69?atlOrigin=eyJpIjoiMjAxOGY4NjU3ZDZjNDIxN2E5NDNiZGI2YjhkZDBiZjgiLCJwIjoiaiJ9 )

Build and release 2.2.0 (In progress)

export GPG_TTY=$(tty)
export REPO=/tmp/temprepo
cd /tmp
git clone git at git.shibboleth.net:java-oidc-common.git
cd java-oidc-common/

## test release
mvn -Dmaven.repo.local=$REPO -Prelease clean verify

## update to non snapshot
mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=2.2.0 versions:set

##check build
mvn -Dmaven.repo.local=$REPO -Pelease 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 2.2.0 release" 2.2.0

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

#commit back
git push
git push origin 2.2.0

## build version
git checkout 2.2.0
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify

#deploy
mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy

——

# for interactive passphrase entry (maybe not required for others)
export GPG_TTY=$(tty) 
# somewhere to store a tmp maven repo
export REPO=/tmp/temprepo
cd /tmp
git clone git at git.shibboleth.net:java-oidc-common.git
cd java-oidc-common/

git checkout 2.2.0
mvn -Dmaven.repo.local=$REPO -DskipTests site site:stage site:deploy

sudo /usr/local/sbin/deploy-java-site.sh java-oidc-common 2.2.0
sudo /usr/local/sbin/purge-released-sites.sh

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

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:e4eb869 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230512/8d0ce33d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-8dc14461-9049-4ffd-ab11-06efc48c2c30
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230512/8d0ce33d/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-acc737f7-bb46-431e-a66f-b9e648d0f50e
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230512/8d0ce33d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-19bab2a4-899a-4e97-b2b3-1b5587b5c8b8
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230512/8d0ce33d/attachment-0005.png>


More information about the commits mailing list