Skip to content

Commit 694c799

Browse files
committed
add publishing of website and examples to release script
Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
1 parent d804484 commit 694c799

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

release/release.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ git push origin "v$VERSION"
7373
echo Publishing ArchUnit...
7474
./gradlew clean publishArchUnit --no-parallel -PsonatypeUsername="$SONATYPE_USERNAME" -PsonatypePassword="$SONATYPE_PASSWORD" -PsigningKey="$GPG_SIGNING_KEY" -PsigningPassword="$GPG_SIGNING_PASSWORD"
7575

76+
echo Publishing website and examples...
77+
./gradlew publishDocs
78+
(cd build/docs-update && git add -A && git commit -s -m "release ArchUnit $VERSION" && git push)
79+
(cd build/example-update && git add -A && git commit -s -m "release ArchUnit $VERSION" && git push)
80+
7681
git checkout main
7782
git merge release-"$NEW_VERSION"
7883
git push

0 commit comments

Comments
 (0)