Skip to content

Commit

Permalink
add release version tag creation to release script
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
  • Loading branch information
codecholeric committed Aug 22, 2021
1 parent faeab99 commit d804484
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ if [ -n "$(git status --porcelain)" ]; then
git commit -m "Update version to $VERSION"
fi

echo Tagging release "v$VERSION"
git tag "v$VERSION"
git push origin "v$VERSION"

echo Publishing ArchUnit...
./gradlew clean publishArchUnit --no-parallel -PsonatypeUsername="$SONATYPE_USERNAME" -PsonatypePassword="$SONATYPE_PASSWORD" -PsigningKey="$GPG_SIGNING_KEY" -PsigningPassword="$GPG_SIGNING_PASSWORD"

Expand Down

0 comments on commit d804484

Please sign in to comment.