Skip to content

Commit

Permalink
disable updating website & examples
Browse files Browse the repository at this point in the history
This is just a release for Spring Modulith,
because their update policy prevents updating to higher minor versions like 1.3.0 for the current Modulith release 1.1.
But, since 1.3.0 has already been released,
we don't want to update website and examples to show 1.2.2 as the current version,
even if it has been released chronologically after 1.3.0.

Signed-off-by: Peter Gafert <[email protected]>
  • Loading branch information
codecholeric committed Apr 23, 2024
1 parent c1f9c66 commit e539b16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ git push origin "v$VERSION"
echo Publishing ArchUnit...
./gradlew clean publishArchUnit --no-parallel -PactivateReleaseToMavenCentral -PsonatypeUsername="$SONATYPE_USERNAME" -PsonatypePassword="$SONATYPE_PASSWORD" -PsigningKey="$GPG_SIGNING_KEY" -PsigningPassword="$GPG_SIGNING_PASSWORD"

echo Publishing website and examples...
./gradlew publishDocs
(cd build/docs-update && git add -A && git commit -s -m "release ArchUnit $VERSION" && git push)
(cd build/example-update && git add -A && git commit -s -m "release ArchUnit $VERSION" && git push)
#echo Publishing website and examples...
#./gradlew publishDocs
#(cd build/docs-update && git add -A && git commit -s -m "release ArchUnit $VERSION" && git push)
#(cd build/example-update && git add -A && git commit -s -m "release ArchUnit $VERSION" && git push)

./gradlew setNextSnapshotVersion

Expand Down

0 comments on commit e539b16

Please sign in to comment.