Release 1.0.0
Basics
Logistics
Basics
Logistics
Description
Environment
None
Activity
Philip SmartDecember 5, 2024 at 5:41 PM
stage file in downloads:
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-dist/1.0.0/idp-plugin-webauthn-dist-1.0.0.tar.gz .
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-dist/1.0.0/idp-plugin-webauthn-dist-1.0.0.tar.gz.asc .
sha256sum idp-plugin-webauthn-dist-1.0.0.tar.gz > idp-plugin-webauthn-dist-1.0.0.tar.gz.sha256
sha256sum -c idp-plugin-webauthn-dist-1.0.0.tar.gz.sha256
sudo mkdir /home/shibwww/html/downloads/identity-provider/plugins/webauthn/1.0.0
sudo cp -v -p idp-plugin-webauthn-dist-1.0.0* /home/shibwww/html/downloads/identity-provider/plugins/webauthn/1.0.0/
sudo chown -R shibwww:shibwww /home/shibwww/html/downloads/identity-provider/plugins/webauthn/1.0.0/
sudo chmod -R g-w /home/shibwww/html/downloads/identity-provider/plugins/webauthn/1.0.0/
Philip SmartDecember 5, 2024 at 5:22 PM
build and deploy Javadoc:
# Setup environment for the deploy script
export MAVEN=/opt/apache-maven-3.9.5/bin/mvn
export USERNAME=philsmart
export REPO=/tmp/philsrepo/
# checkout parent project to access the javadoc script
cd /tmp
git clone git@git.shibboleth.net:java-parent-project
# navigate back to the common
cd java-idp-plugin-webauthn/
git checkout 1.0.0
# make sure the container can reach the Nexus instances for the initial javadoc deployment
ssh -l philsmart -L 1581:127.0.0.1:1581 -N shibboleth.net -f
# run deploy script
../java-parent-project/bin/build-and-deploy-javadoc.sh
Philip SmartDecember 5, 2024 at 5:06 PM
build, tag, and deploy:
#WebAuthn
export GPG_TTY=$(tty)
export REPO=/tmp/philsrepo
cd /tmp
git clone git@git.shibboleth.net:java-idp-plugin-webauthn
cd java-idp-plugin-webauthn/
git checkout main
#ensure plugin version is correct in
vi webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/plugin.properties
#ensure the keys are correct
vi webauthn-dist/src/main/resources/bootstrap/keys.txt
## ## test release
mvn -Dmaven.repo.local=$REPO -Prelease clean verify
## Test enforcer
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean install
## update to non snapshot
### Note, versions:set may not work if too new for the parent. So do manually if required.
mvn -Dmaven.repo.local=/tmp/versionset -DgenerateBackupPoms=false -DnewVersion=1.0.0 versions:set
vi pom.xml
## set SNAPSHOTS to RELEASE if needed
##check build
mvn -Dmaven.repo.local=$REPO -Prelease clean verify
## Test enforcer
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean 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 1.0.0 release" 1.0.0
#set version back
mvn -Dmaven.repo.local=/tmp/versionset -DgenerateBackupPoms=false -DnewVersion=1.0.1-SNAPSHOT versions:set
git add -A
git commit -m 'Bump version after release'
## build version
git checkout 1.0.0
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean install
#deploy
mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy
#commit back
git checkout main
git push
git push origin 1.0.0
Completed
Details
Assignee
Philip SmartPhilip SmartReporter
Philip SmartPhilip Smart
Details
Details
Assignee
Philip Smart
Philip SmartReporter
Philip Smart
Philip SmartCreated August 12, 2024 at 8:06 AM
Updated March 13, 2025 at 4:38 PM
Resolved March 13, 2025 at 4:38 PM
Verify/update plugin properties version
Build and tag version
Release nexus artifact
Build/deploy Javadoc
Move to downloads
Update plugin.properties
Announce