Skip to content

Commit d4d2e64

Browse files
committed
Keep 10 retries and drop Windows launcher from release
1 parent 3d86227 commit d4d2e64

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release-cli.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ jobs:
3939
VERSION=${VERSION#v}
4040
ARTIFACT="org.scip-code:scip-java:${VERSION}"
4141
42-
for attempt in {1..20}; do
42+
for attempt in {1..10}; do
4343
if cs resolve "$ARTIFACT" >/dev/null; then
4444
break
4545
fi
4646
47-
if [ "$attempt" -eq 20 ]; then
48-
echo "Artifact $ARTIFACT was not resolvable after 20 attempts" >&2
47+
if [ "$attempt" -eq 10 ]; then
48+
echo "Artifact $ARTIFACT was not resolvable after 10 attempts" >&2
4949
exit 1
5050
fi
5151
@@ -55,7 +55,6 @@ jobs:
5555
5656
cs bootstrap \
5757
--standalone \
58-
--bat=true \
5958
-o scip-java \
6059
"$ARTIFACT" \
6160
--main org.scip_code.scip_java.ScipJava
@@ -64,8 +63,7 @@ jobs:
6463
./scip-java --help >/dev/null
6564
6665
mv scip-java "scip-java-${TAG}"
67-
mv scip-java.bat "scip-java-${TAG}.bat"
68-
shasum -a 256 "scip-java-${TAG}" "scip-java-${TAG}.bat" > "scip-java-${TAG}.sha256"
66+
shasum -a 256 "scip-java-${TAG}" > "scip-java-${TAG}.sha256"
6967
7068
- name: Check for GitHub release
7169
id: release
@@ -95,7 +93,6 @@ jobs:
9593
9694
gh release upload "$TAG" \
9795
"scip-java-${TAG}" \
98-
"scip-java-${TAG}.bat" \
9996
"scip-java-${TAG}.sha256" \
10097
--repo "scip-code/scip-java" \
10198
--clobber

0 commit comments

Comments
 (0)