2 Commits

Author SHA1 Message Date
semantic-release-bot
49e5c4a4cb chore(release): 1.0.4 [skip ci]
## [1.0.4](https://git.xenoxindustries.com/interkonnekted/setup-weld/compare/v1.0.3...v1.0.4) (2026-01-08)

### Bug Fixes

* **action:** intelligent binary name resolution ([c8ebc29](c8ebc292c9))
2026-01-08 20:46:23 +00:00
c8ebc292c9 fix(action): intelligent binary name resolution
All checks were successful
Release / Release (push) Successful in 15s
2026-01-08 23:46:00 +03:00
2 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
## [1.0.4](https://git.xenoxindustries.com/interkonnekted/setup-weld/compare/v1.0.3...v1.0.4) (2026-01-08)
### Bug Fixes
* **action:** intelligent binary name resolution ([c8ebc29](https://git.xenoxindustries.com/interkonnekted/setup-weld/commit/c8ebc292c97d954b9e7888142c73d9bb849649f6))
## [1.0.3](https://git.xenoxindustries.com/interkonnekted/setup-weld/compare/v1.0.2...v1.0.3) (2026-01-08)

View File

@@ -36,7 +36,16 @@ runs:
# Extract Tag and Download URL for the asset named 'weld'
TAG=$(echo $RESPONSE | jq -r '.tag_name')
# This jq filter finds the asset named 'weld' and gets its download URL
DL_URL=$(echo $RESPONSE | jq -r '.assets[] | select(.name=="weld") | .browser_download_url')
DL_URL=$(echo $RESPONSE | jq -r '.assets[] | select(
(.name == "weld" or (.name | startswith("weld-binary-")) or (.name | startswith("weld-")))
and (.name | endswith(".deb") | not)
) | .browser_download_url' | head -n 1)
if [[ -z "$DL_URL" || "$DL_URL" == "null" ]]; then
echo "❌ ERROR: Could not find a valid 'weld' binary in the release assets."
echo "Available assets: $(echo "$RESPONSE" | jq -r '.assets[].name')"
exit 1
fi
echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "url=$DL_URL" >> $GITHUB_OUTPUT