Release Version 1.0.3
Basics
Logistics
Basics
Logistics
Description
Environment
None
Activity
Rod WiddowsonJuly 11, 2022 at 3:01 PM
Release Copied.
Rod WiddowsonJuly 11, 2022 at 3:00 PM
Completed.
Rod WiddowsonJuly 11, 2022 at 2:58 PM
Updated `plugin.properties`
Rod WiddowsonJuly 11, 2022 at 2:57 PM
# 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.3
export NEW_VERSION=1.0.2-SNAPSHOT
cd /tmp
git clone git@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
Release Version 1.0.3