[JIRA] (JJDBC-9) Release Version 1.0.2

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Sun Jun 26 13:16:55 UTC 2022


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on JJDBC-9 ( https://shibboleth.atlassian.net/browse/JJDBC-9?atlOrigin=eyJpIjoiYTY0ZTdmMTZiZjlhNGM1NzgxYTI4OTU5NTQzYTZiNGMiLCJwIjoiaiJ9 )

Re: Release Version 1.0.2 ( https://shibboleth.atlassian.net/browse/JJDBC-9?atlOrigin=eyJpIjoiYTY0ZTdmMTZiZjlhNGM1NzgxYTI4OTU5NTQzYTZiNGMiLCJwIjoiaiJ9 )

# for interactive passphrase entry (maybe not required for others)
export GPG_TTY=$(tty) 
# somewhere to store a tmp maven repo
export REPO=/tmp/rodsrepo
export THE_VERSION=1.0.2
export NEW_VERSION=1.0.3-SNAPSHOT
cd /tmp
git clone git at git.shibboleth.net:java-plugin-storage-jdbc

#########################

cd java-plugin-storage-jdbc
git checkout main

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

mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=$THE_VERSION versions:set

# Be sure there are not SNAPSHOT deps in any pom (from base dir).
git diff
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;

# If the output contains SNAPSHOTs change to release
grep version jdbc-storage-impl/src/main/resources/net/shibboleth/plugin/storage/jdbc/impl/plugin.properties

#######################################

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

git add -A
git commit -m 'Update files to be tagged for release'
git tag -s -m "Tag $THE_VERSION release" $THE_VERSION
git show $THE_VERSION
######################################################################

mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=$NEW_VERSION versions:set

# Be sure there are SNAPSHOTs in the right places.
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;

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

git checkout $THE_VERSION
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify

#############################################
## commit the work
ssh -L 1581:127.0.0.1:1581 -N build.shibboleth.net -f
mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy

git checkout main
git push origin main
git push origin $THE_VERSION

( https://shibboleth.atlassian.net/browse/JJDBC-9#add-comment?atlOrigin=eyJpIjoiYTY0ZTdmMTZiZjlhNGM1NzgxYTI4OTU5NTQzYTZiNGMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JJDBC-9#add-comment?atlOrigin=eyJpIjoiYTY0ZTdmMTZiZjlhNGM1NzgxYTI4OTU5NTQzYTZiNGMiLCJwIjoiaiJ9 )

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#100201- sha1:00501c8 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220626/a5832454/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-471b84a3-cf6b-466d-bdbe-4b72176eecd0
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220626/a5832454/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-1c7a518a-4013-4187-9795-dfff62be102d
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220626/a5832454/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-4437b06a-e1bb-4225-a730-8135869b9095
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220626/a5832454/attachment-0005.png>


More information about the commits mailing list