Skip to content

Commit 7fc271d

Browse files
committed
ci-build.sh: fix build argument construction bug
We need to initialize the BUILD_ARGS first, _then_ the GPG version hackery (and other things potentially later as needed) can modify it.
1 parent b1ecadf commit 7fc271d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ci-build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ EOL
147147
echo "All checks passed for artifact deployment"
148148
fi
149149

150+
# --== Maven build arguments ==--
151+
152+
BUILD_ARGS="-B -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2"
153+
150154
# --== GPG SETUP ==--
151155

152156
# Install GPG on macOS
@@ -196,7 +200,6 @@ EOL
196200
# --== BUILD EXECUTION ==--
197201

198202
# Run the build.
199-
BUILD_ARGS='-B -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"'
200203
if [ "$deployOK" -a -f release.properties ]; then
201204
echo
202205
echo "== Cutting and deploying release version =="

0 commit comments

Comments
 (0)