-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3828f35
commit 0b4fbeb
Showing
15 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,13 +41,13 @@ jobs: | |
with: | ||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
publish_branch: gh-pages | ||
publish_dir: ./__sapper__/export/apollo | ||
publish_dir: ./__sapper__/export/muse | ||
- name: Build python package | ||
run: | | ||
export APP_VERSION=$(git describe --tags --always --abbrev=0) | ||
sed -i -E "s/version = (.*)/version = ${APP_VERSION:1}/" setup.cfg | ||
sed -i -E "s/version\": \"(.*)\"/version\": \"${APP_VERSION:1}\"/" package.json; | ||
cp -r ./__sapper__/export/apollo/* mopidy_apollo/static | ||
cp -r ./__sapper__/export/muse/* mopidy_muse/static | ||
python3 -m pip install --upgrade setuptools wheel | ||
python3 setup.py sdist bdist_wheel | ||
|
@@ -76,7 +76,7 @@ jobs: | |
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
- run: cp dist/Mopidy-Apollo*.tar.gz ./dist/Mopidy-Apollo.tar.gz | ||
- run: cp dist/Mopidy-Muse*.tar.gz ./dist/Mopidy-Muse.tar.gz | ||
if: startsWith(github.event.ref, 'refs/tags') | ||
- name: Upload Release Asset | ||
if: startsWith(github.event.ref, 'refs/tags') | ||
|
@@ -86,8 +86,8 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/Mopidy-Apollo.tar.gz | ||
asset_name: Mopidy-Apollo.tar.gz | ||
asset_path: ./dist/Mopidy-Muse.tar.gz | ||
asset_name: Mopidy-Muse.tar.gz | ||
asset_content_type: application/gzip | ||
- uses: stefanzweifel/[email protected] | ||
if: startsWith(github.event.ref, 'refs/tags') | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
recursive-include mopidy_apollo/static * | ||
recursive-include mopidy_apollo *.py | ||
include mopidy_apollo/ext.conf | ||
recursive-include mopidy_muse/static * | ||
recursive-include mopidy_muse *.py | ||
include mopidy_muse/ext.conf | ||
include pyproject.toml | ||
include LICENSE | ||
include MANIFEST.in |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[apollo] | ||
[muse] | ||
enabled = true |
File renamed without changes.
File renamed without changes.
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
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
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
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
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