We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 474e299 commit 9c9b3d1Copy full SHA for 9c9b3d1
.github/build.sh
@@ -1,9 +1,17 @@
1
#!/bin/sh
2
+
3
+# Discern whether this is a release build.
4
+releasing=
5
+if [ -f release.properties ]; then
6
+ releasing=1
7
+fi
8
9
+# Run the SciJava CI build script.
10
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh &&
11
sh ci-build.sh || { echo "Maven build failed. Skipping melting pot tests."; exit 1; }
12
-if [ -f release.properties ]; then
- # Skip melting pot when cutting a release.
13
+# Skip melting pot if cutting a release.
14
+if [ "$releasing" ]; then
15
exit 0
16
fi
17
.github/workflows/release.yml
@@ -1,4 +1,4 @@
-name: build
+name: release
on:
push:
0 commit comments