Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

ci: delete release.yml, scripts/release-local.sh is the release path

raymondchinsd1ca211101b8
diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml
index 98c7522..e39336b 100644
--- a/.github/workflows/app.yml
+++ b/.github/workflows/app.yml
@@ -5,7 +5,6 @@ on:
branches: [main]
pull_request:
workflow_dispatch:
- workflow_call:
permissions:
contents: read
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index dad541f..0000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,76 +0,0 @@
-name: release
-
-on:
- workflow_dispatch:
- inputs:
- version:
- description: Version to release
- required: true
- type: string
- release_notes:
- description: Release notes
- required: true
- type: string
-
-permissions:
- contents: write
-
-jobs:
- build:
- uses: ./.github/workflows/app.yml
-
- release:
- name: publish release
- needs: build
- runs-on: xcode-27
- steps:
- - uses: actions/checkout@v4
-
- - uses: actions/download-artifact@v4
- with:
- name: Bridgeplay
- path: release
-
- - name: Verify the archive
- env:
- VERSION: ${{ inputs.version }}
- run: |
- ditto -x -k release/Bridgeplay.zip release/extracted
- codesign --verify --strict release/extracted/Bridgeplay.app
- actual=$(/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' release/extracted/Bridgeplay.app/Contents/Info.plist)
- test "$actual" = "$VERSION"
- make -s mincheck APP_BUNDLE=release/extracted/Bridgeplay.app
-
- - name: Resolve Sparkle tools
- run: swift package resolve --package-path app
-
- - name: Generate the appcast
- env:
- GH_TOKEN: ${{ github.token }}
- RELEASE_NOTES: ${{ inputs.release_notes }}
- SPARKLE_PRIVATE_KEY: ${{ secrets.SPARKLE_PRIVATE_KEY }}
- VERSION: ${{ inputs.version }}
- run: |
- gh api markdown -f text="$RELEASE_NOTES" -f mode=gfm -f context="$GITHUB_REPOSITORY" > release/Bridgeplay.html
- printf '%s' "$SPARKLE_PRIVATE_KEY" | app/.build/artifacts/sparkle/Sparkle/bin/generate_appcast \
- --ed-key-file - \
- --download-url-prefix "https://github.com/$GITHUB_REPOSITORY/releases/download/v$VERSION/" \
- --embed-release-notes \
- release
-
- - name: Publish the release
- env:
- GH_TOKEN: ${{ github.token }}
- RELEASE_NOTES: ${{ inputs.release_notes }}
- VERSION: ${{ inputs.version }}
- run: |
- git config user.name "github-actions[bot]"
- git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- git tag -f -a "v$VERSION" -m "Public release/$VERSION"
- git push --force origin "v$VERSION"
- gh release delete "v$VERSION" --yes || true
- gh release create "v$VERSION" \
- release/Bridgeplay.zip \
- release/appcast.xml \
- --title "$VERSION" \
- --notes "$RELEASE_NOTES"