[JIRA] (JCOMOIDC-75) Release 2.2.1

Philip Smart (Jira) jira at shibboleth.atlassian.net
Tue Jun 13 14:35:44 UTC 2023


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

Re: Release 2.2.1 ( https://shibboleth.atlassian.net/browse/JCOMOIDC-75?atlOrigin=eyJpIjoiZWU5MDYwZDBmN2IxNGU0MzlkMmFiYmJiZTE0MjE0ZTYiLCJwIjoiaiJ9 )

build and release 2.2.1

export GPG_TTY=$(tty)
export REPO=/tmp/temprepo2
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 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=2.2.1 versions:set

## Check plugin.version file is correct
vi oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/plugin.properties

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

#set version back
mvn -Dmaven.repo.local=/tmp/version-repo -DgenerateBackupPoms=false -DnewVersion=2.2.2-SNAPSHOT versions:set
# Set new plugin version to 2.2.2
vi oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/plugin.properties

git add -A
git commit -m 'Bump version after release'

#commit back
git push
git push origin 2.2.1

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

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

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

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#100226- sha1:1cc165e )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/d4f7c938/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-69a9d22e-ee78-406e-8d2f-c3d57b92c6cc
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/d4f7c938/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-4abe6fe9-dbfc-4118-a7c3-f6d17e58e049
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/d4f7c938/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-bc6f84e2-aa81-48ff-bf24-f0e9e8a74858
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/d4f7c938/attachment-0005.png>


More information about the commits mailing list