[JIRA] (JMVN-47) Release maven-dist-enforcer 3.2.0
Rod Widdowson (Jira)
jira at shibboleth.atlassian.net
Sun Jan 15 10:46:38 UTC 2023
Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on JMVN-47 ( https://shibboleth.atlassian.net/browse/JMVN-47?atlOrigin=eyJpIjoiMzE0ZmQ3ZjEzM2UxNGFkYTkwZjQ1M2JhZDRiMjZiNWIiLCJwIjoiaiJ9 )
Re: Release maven-dist-enforcer 3.2.0 ( https://shibboleth.atlassian.net/browse/JMVN-47?atlOrigin=eyJpIjoiMzE0ZmQ3ZjEzM2UxNGFkYTkwZjQ1M2JhZDRiMjZiNWIiLCJwIjoiaiJ9 )
Parent Build
------------
# 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.0
export NEW_VERSION=1.0.1-SNAPSHOT
echo $NEW_VERSION-PARENT
cd /tmp
git clone git at git.shibboleth.net:java-mvn-enforcer
mvn -Dmaven.repo.local=$REPO -Prelease clean verify
cd java-mvn-enforcer/parent
git checkout main
mvn -Dmaven.repo.local=$REPO -Prelease clean verify
vi pom.xml
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;
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-PARENT
git tag
vi pom.xml
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;
git add -A
git commit -m 'Bump version after release'
cd /tmp/java-mvn-enforcer/parent
git checkout $THE_VERSION-PARENT
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify
git push origin $THE_VERSION-PARENT
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
( https://shibboleth.atlassian.net/browse/JMVN-47#add-comment?atlOrigin=eyJpIjoiMzE0ZmQ3ZjEzM2UxNGFkYTkwZjQ1M2JhZDRiMjZiNWIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JMVN-47#add-comment?atlOrigin=eyJpIjoiMzE0ZmQ3ZjEzM2UxNGFkYTkwZjQ1M2JhZDRiMjZiNWIiLCJwIjoiaiJ9 )
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#100214- sha1:b03f6a4 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230115/fe7e2a7d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-6bbc2073-f6d7-435c-bc5c-b360590245d0
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230115/fe7e2a7d/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-f63d0a6c-92ee-416d-b4bb-3e49ca624e25
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230115/fe7e2a7d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-f9c50be5-299c-4055-82a1-115780ab5a15
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230115/fe7e2a7d/attachment-0005.png>
More information about the commits
mailing list