Fix: deprecate chapters (#18) #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Plex Plug-in Bundle | |
concurrency: | |
group: release-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- '.github/workflows/release.yml' | |
- 'Contents/**' | |
jobs: | |
bundle: | |
name: Bundle | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Generate Version | |
id: shell | |
run: | | |
echo "version=$(date -u '+%Y.%-m%d.%-H%M.0')" >> $GITHUB_OUTPUT | |
- name: Make bundle | |
run: | | |
echo v${{ steps.shell.outputs.version }} > VERSION | |
mkdir -p MetaTube.bundle/ | |
mv LICENSE MetaTube.bundle/ | |
mv VERSION MetaTube.bundle/ | |
mv Contents/ MetaTube.bundle/ | |
zip -r MetaTube.bundle.zip MetaTube.bundle/ | |
- name: Upload Releases | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: MetaTube.bundle.zip | |
body: _Auto Released by GitHub Actions_ | |
name: v${{ steps.shell.outputs.version }} | |
tag_name: bundle | |
draft: false | |
prerelease: false |