🛠️ Release GUI fix debug.
This commit is contained in:
@@ -7,22 +7,14 @@ on:
|
|||||||
# release:
|
# release:
|
||||||
# types: [published]
|
# types: [published]
|
||||||
# branches: [master]
|
# branches: [master]
|
||||||
workflow_dispatch: # or workflow_call
|
|
||||||
inputs:
|
|
||||||
asset_mime:
|
|
||||||
description: "MIME Type"
|
|
||||||
required: false
|
|
||||||
default: "application/zip"
|
|
||||||
out_name_file:
|
|
||||||
description: "App file name"
|
|
||||||
required: false
|
|
||||||
default: "TIDAL-Downloader-NG"
|
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*.*.*"
|
- "v*.*.*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RELEASE_UPLOAD_URL: "release_upload_url"
|
RELEASE_UPLOAD_URL: "release_upload_url"
|
||||||
|
ASSET_EXTENSION: ".zip"
|
||||||
|
OUT_NAME_FILE: "TIDAL-Downloader-NG"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
@@ -57,7 +49,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{env.RELEASE_UPLOAD_URL}}
|
name: ${{env.RELEASE_UPLOAD_URL}}
|
||||||
path: ${{env.RELEASE_UPLOAD_URL}}.txt
|
path: ${{env.RELEASE_UPLOAD_URL}}.txt
|
||||||
|
|
||||||
deploy-docs:
|
deploy-docs:
|
||||||
needs: publish
|
needs: publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -80,9 +71,19 @@ jobs:
|
|||||||
run: poetry install --no-interaction --with docs
|
run: poetry install --no-interaction --with docs
|
||||||
- name: Deploy documentation
|
- name: Deploy documentation
|
||||||
run: poetry run mkdocs gh-deploy --force
|
run: poetry run mkdocs gh-deploy --force
|
||||||
|
compute:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
ASSET_EXTENSION: ${{ env.ASSET_EXTENSION }}
|
||||||
|
OUT_NAME_FILE: ${{ env.OUT_NAME_FILE }}
|
||||||
|
steps:
|
||||||
|
- name: Compute outputs
|
||||||
|
run: |
|
||||||
|
echo "ASSET_EXTENSION=${{ env.ASSET_EXTENSION }}" >> $GITHUB_OUTPUT
|
||||||
|
echo "OUT_NAME_FILE=${{ env.OUT_NAME_FILE }}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
build-gui-and-upload-assets:
|
build-gui-and-upload-assets:
|
||||||
needs: publish
|
needs: ["publish", "compute"]
|
||||||
env:
|
env:
|
||||||
ASSET_MIME: "application/zip"
|
ASSET_MIME: "application/zip"
|
||||||
strategy:
|
strategy:
|
||||||
@@ -98,8 +99,8 @@ jobs:
|
|||||||
poetry run make gui-macos &&
|
poetry run make gui-macos &&
|
||||||
cd dist &&
|
cd dist &&
|
||||||
pwd &&
|
pwd &&
|
||||||
echo zip -r ${{inputs.out_name_file}}${{inputs.asset_extension}} ${{inputs.out_name_file}}.dmg -x "*.DS_Store"
|
echo zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg -x "*.DS_Store"
|
||||||
zip -r ${{inputs.out_name_file}}${{inputs.asset_extension}} ${{inputs.out_name_file}}.dmg -x "*.DS_Store"
|
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg/ -x "*.DS_Store"
|
||||||
# - os: "windows-2019"
|
# - os: "windows-2019"
|
||||||
# TARGET: "windows-2019"
|
# TARGET: "windows-2019"
|
||||||
# CMD_BUILD: pyinstaller -F -w -n clipster -i resources/clipster.ico cli.py
|
# CMD_BUILD: pyinstaller -F -w -n clipster -i resources/clipster.ico cli.py
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "tidal-dl-ng"
|
name = "tidal-dl-ng"
|
||||||
version = "0.4.17"
|
version = "0.4.18"
|
||||||
description = "TIDAL Medial Downloader Next Generation!"
|
description = "TIDAL Medial Downloader Next Generation!"
|
||||||
authors = ["Robert Honz <cen.sored@gmail.com>"]
|
authors = ["Robert Honz <cen.sored@gmail.com>"]
|
||||||
repository = "https://github.com/exislow/tidal-dl-ng"
|
repository = "https://github.com/exislow/tidal-dl-ng"
|
||||||
@@ -13,7 +13,7 @@ packages = [
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "tidal-dl-ng"
|
name = "tidal-dl-ng"
|
||||||
authors = ["Robert Honz <cen.sored@gmail.com>"]
|
authors = ["Robert Honz <cen.sored@gmail.com>"]
|
||||||
version = "0.4.17"
|
version = "0.4.18"
|
||||||
description = "TIDAL Medial Downloader Next Generation!"
|
description = "TIDAL Medial Downloader Next Generation!"
|
||||||
repository = "https://github.com/exislow/tidal-dl-ng"
|
repository = "https://github.com/exislow/tidal-dl-ng"
|
||||||
documentation = "https://exislow.github.io/tidal-dl-ng/"
|
documentation = "https://exislow.github.io/tidal-dl-ng/"
|
||||||
|
|||||||
Reference in New Issue
Block a user