|
|
|
@ -92,6 +92,20 @@ jobs: |
|
|
|
plutil -replace CFBundleVersion -string "${{ inputs.info_version }}" ErsatzTV-macOS/ErsatzTV-macOS/Info.plist |
|
|
|
plutil -replace CFBundleVersion -string "${{ inputs.info_version }}" ErsatzTV-macOS/ErsatzTV-macOS/Info.plist |
|
|
|
scripts/macOS/bundle.sh |
|
|
|
scripts/macOS/bundle.sh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Bundle ersatztv-channel from next |
|
|
|
|
|
|
|
shell: bash |
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
GH_TOKEN: ${{ github.token }} |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
next_target="${{ matrix.target }}" |
|
|
|
|
|
|
|
next_target="${next_target/osx/macos}" |
|
|
|
|
|
|
|
gh release download develop --repo ErsatzTV/next --pattern "ersatztv-next-*-${next_target}.tar.gz" --dir next-download |
|
|
|
|
|
|
|
mkdir next-extracted |
|
|
|
|
|
|
|
tar xzvf next-download/*.tar.gz -C next-extracted --strip-components 1 |
|
|
|
|
|
|
|
mv next-extracted/ersatztv-channel ErsatzTV-Legacy.app/Contents/MacOS/ |
|
|
|
|
|
|
|
chmod +x ErsatzTV-Legacy.app/Contents/MacOS/ersatztv-channel |
|
|
|
|
|
|
|
rm -rf next-download next-extracted |
|
|
|
|
|
|
|
|
|
|
|
- name: Sign |
|
|
|
- name: Sign |
|
|
|
shell: bash |
|
|
|
shell: bash |
|
|
|
run: scripts/macOS/sign.sh |
|
|
|
run: scripts/macOS/sign.sh |
|
|
|
|