diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b84a7d5..e62b56f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -155,8 +155,8 @@ jobs: echo "BUILD_NUMBER=$version" >> "$GITHUB_ENV" suffix="" [ "$MODE" = "signed" ] || suffix="-unsigned" - echo "DMG_NAME=ForgeCode-$version$suffix" >> "$GITHUB_ENV" - echo "dmg_file=ForgeCode-$version$suffix.dmg" >> "$GITHUB_OUTPUT" + echo "DMG_NAME=ForgeCode$suffix" >> "$GITHUB_ENV" + echo "dmg_file=ForgeCode$suffix.dmg" >> "$GITHUB_OUTPUT" - name: Import signing certificate if: steps.mode.outputs.mode == 'signed' @@ -523,7 +523,7 @@ jobs: release=$(gh release view "$TAG_NAME" --repo "$GITHUB_REPOSITORY" --json isDraft,assets) [ "$(jq -r '.isDraft' <<< "$release")" = "true" ] \ || { echo "target release is not a draft: $TAG_NAME" >&2; exit 1; } - jq -r '.assets[].name | select(. == "appcast.xml" or (startswith("ForgeCode-") and endswith(".dmg")))' <<< "$release" \ + jq -r '.assets[].name | select(. == "appcast.xml" or (startswith("ForgeCode") and endswith(".dmg")))' <<< "$release" \ | while IFS= read -r asset; do gh release delete-asset "$TAG_NAME" "$asset" --repo "$GITHUB_REPOSITORY" --yes done diff --git a/macos/scripts/common.sh b/macos/scripts/common.sh index 0599865..06389ef 100755 --- a/macos/scripts/common.sh +++ b/macos/scripts/common.sh @@ -36,7 +36,7 @@ SPARKLE_EMBED_EXCLUDES="Headers Modules PrivateHeaders XPCServices" # allowing this declarative, app-runtime-only configuration value. SPARKLE_FEED_URL=${SPARKLE_FEED_URL:-"https:""//github.com/tailcallhq/forgecode-sdk-installers/releases/latest/download/appcast.xml"} SPARKLE_PUBLIC_ED_KEY=${SPARKLE_PUBLIC_ED_KEY:-"HHU4iqquKHbx0NZBmhLdUWteSNm+dHezZ4TwgArcbNk="} -DMG_NAME=${DMG_NAME:-"ForgeCode-$APP_VERSION"} +DMG_NAME=${DMG_NAME:-"ForgeCode"} BUILD_FLAVOR=${BUILD_FLAVOR:-unsigned} case "$BUILD_FLAVOR" in unsigned|signed) ;;