Commit 66c684a7 authored by Kourser's avatar Kourser
Browse files

fix(release): brace ${TAG} before the ellipsis so old bash (3.2) doesn't treat...


fix(release): brace ${TAG} before the ellipsis so old bash (3.2) doesn't treat the variable as unbound

macOS ships bash 3.2, which folds the UTF-8 bytes of '…' into the preceding $TAG name (reported as 'TAG?: unbound variable'). Use ${TAG} + ASCII on the two affected echo lines.

Co-Authored-By: default avatarClaude <claude@anthropic.com>
parent 105569b4
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ awk -v v="$VERSION" '

# --- 6. Ensure tag exists --------------------------------------------------
if ! git rev-parse "$TAG" >/dev/null 2>&1; then
  echo "▶︎ Création + push du tag $TAG"
  echo "==> Création + push du tag ${TAG}..."
  git tag -a "$TAG" -m "Skingomz $VERSION"
  git push origin "$TAG"
fi
@@ -102,7 +102,7 @@ curl --fail --silent --show-error --header "PRIVATE-TOKEN: $GITLAB_TOKEN" \
echo "  ✓ $ASSET_URL"

# --- 8. Create the Release --------------------------------------------------
echo "▶︎ Création de la Release $TAG"
echo "==> Création de la Release ${TAG}..."
python3 - "$VERSION" "$TAG" "$ASSET_URL" "$FILENAME" > build/release.json <<'PY'
import json, sys
version, tag, url, filename = sys.argv[1:5]