Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 865 Bytes

RELEASE.md

File metadata and controls

27 lines (19 loc) · 865 Bytes
RELEASE_VERSION=3.5.1
NEXT_VERSION=3.6.0

cd j-interop-ng
git checkout jcifs-ng
git pull

JAVA_HOME=/usr/lib/jvm/temurin-8-jdk-amd64 mvn clean release:clean
nano CHANGELOG.md
git add CHANGELOG.md
git commit -m "Prepare version ${RELEASE_VERSION}."

JAVA_HOME=/usr/lib/jvm/temurin-8-jdk-amd64 mvn --batch-mode release:prepare -D 'pushChanges=false' -D "tag=${RELEASE_VERSION}" -D "releaseVersion=${RELEASE_VERSION}" -D "developmentVersion=${NEXT_VERSION}-SNAPSHOT"
JAVA_HOME=/usr/lib/jvm/temurin-8-jdk-amd64 mvn clean release:clean

git push --follow-tags

git checkout "${RELEASE_VERSION}"
JAVA_HOME=/usr/lib/jvm/temurin-8-jdk-amd64 mvn clean install
JAVA_HOME=/usr/lib/jvm/temurin-8-jdk-amd64 mvn deploy -P release

git checkout jcifs-ng

Go to sonatype nexus to check deployed version.