Skip to content

Commit 6136b59

Browse files
committed
release-version.sh: consolidate test statements
1 parent d95ccbd commit 6136b59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎release-version.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ fi
135135

136136
# Discern the version to release.
137137
pomVersion=${currentVersion%-SNAPSHOT}
138-
test "$VERSION" || test ! -t 0 || {
138+
test "$VERSION" -o ! -t 0 || {
139139
printf 'Version? [%s]: ' "$pomVersion"
140140
read VERSION
141141
test "$VERSION" || VERSION=$pomVersion

0 commit comments

Comments
 (0)