We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666c52c commit ebc0d21Copy full SHA for ebc0d21
deploy.sh
@@ -1,13 +1,11 @@
1
#!/usr/bin/env -S bash -e
2
3
-EXTRA_JRELEASER_ADDITIONAL_OPTIONS=''
4
-
5
while getopts 'd:' opt; do
6
case "$opt" in
7
d)
8
# Dry run
9
echo "DRY RUN: will not push/deploy/publish anything."
10
- EXTRA_JRELEASER_ADDITIONAL_OPTIONS='--dry-run'
+ export JRELEASER_DRY_RUN=true
11
;;
12
\?)
13
usage
@@ -74,7 +72,7 @@ else
74
72
# Let's check we've got the right version
75
73
java -jar jreleaser-cli.jar --version
76
# Execute a JReleaser command such as 'full-release'
77
- java -jar jreleaser-cli.jar -Djreleaser.project.version="$RELEASE_VERSION" $EXTRA_JRELEASER_ADDITIONAL_OPTIONS
+ java -jar jreleaser-cli.jar -Djreleaser.project.version="$RELEASE_VERSION"
78
fi
79
80
0 commit comments