Skip to content

Commit 75aaea3

Browse files
committed
Move jreleaser call out of the "maven-only" condition branch
Signed-off-by: marko-bekhta <[email protected]>
1 parent e77e837 commit 75aaea3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

deploy.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ else
4545
-Dgradle.cache.remote.enabled=false -Dgradle.cache.local.enabled=false \
4646
-Ddevelocity.cache.remote.enabled=false -Ddevelocity.cache.local.enabled=false \
4747
$ADDITIONAL_OPTIONS
48+
fi
4849

49-
if [ -f "./jreleaser.yml" ]; then
50-
# JReleaser-based build
51-
source "$SCRIPTS_DIR/jreleaser-setup.sh"
52-
# Execute a JReleaser command such as 'full-release'
53-
./jreleaser/bin/jreleaser full-release -Djreleaser.project.version="$RELEASE_VERSION"
54-
fi
50+
if [ -f "./jreleaser.yml" ]; then
51+
# JReleaser-based build
52+
source "$SCRIPTS_DIR/jreleaser-setup.sh"
53+
# Execute a JReleaser command such as 'full-release'
54+
./jreleaser/bin/jreleaser full-release -Djreleaser.project.version="$RELEASE_VERSION"
5555
fi
5656

5757
popd

0 commit comments

Comments
 (0)