Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions release-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ valid_semver_bump () {
}

verify_gpg_settings () {
test -f .travis/signingkey.asc.enc ||
die 'GPG configuration not found. Please use travisify.sh to add it.
if [ ! "$SKIP_GPG" ]
then
test -f .travis/signingkey.asc.enc ||
die 'GPG configuration not found. Please use travisify.sh to add it.
See also: https://github.com/scijava/pom-scijava/wiki/GPG-Signing'
fi
}

verify_git_settings () {
Expand Down Expand Up @@ -52,6 +55,7 @@ IMAGEJ_THIRDPARTY_REPOSITORY=$IMAGEJ_BASE_REPOSITORY/thirdparty

BATCH_MODE=--batch-mode
SKIP_PUSH=
SKIP_GPG=
TAG=
DEV_VERSION=
EXTRA_ARGS=
Expand Down Expand Up @@ -84,6 +88,7 @@ do
SKIP_PUSH=t
ALT_REPOSITORY=$IMAGEJ_THIRDPARTY_REPOSITORY;;
--skip-gpg)
SKIP_GPG=t
EXTRA_ARGS="$EXTRA_ARGS -Dgpg.skip=true";;
-*) echo "Unknown option: $1" >&2; break;;
*) break;;
Expand Down