Skip to content

Commit 608fa4a

Browse files
committed
Skip checking if master for deploy
This is controlled by the workflow
1 parent 19c2fa6 commit 608fa4a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

github-action-build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ EOL
114114

115115
# Run the build.
116116
BUILD_ARGS='-B -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"'
117-
git_branch=${git_branch##*/} # extract branch name
118-
if [ "$deployOK" -a "${git_branch}" = master ]; then
117+
if [ "$deployOK" ]; then
119118
echo
120119
echo "== Building and deploying master SNAPSHOT =="
121120
mvn -Pdeploy-to-scijava $BUILD_ARGS deploy

0 commit comments

Comments
 (0)