Skip to content

Commit

Permalink
🛠️ Release GUI fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
exislow committed Dec 20, 2023
1 parent f4fcdb5 commit 7487c63
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 9 deletions.
37 changes: 30 additions & 7 deletions .github/workflows/on-release-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
- name: Deploy documentation
run: poetry run mkdocs gh-deploy --force
compute:
# Workaround to be able to use variables in matrix.
runs-on: ubuntu-latest
outputs:
ASSET_EXTENSION: ${{ env.ASSET_EXTENSION }}
Expand All @@ -81,7 +82,6 @@ jobs:
run: |
echo "ASSET_EXTENSION=${{ env.ASSET_EXTENSION }}" >> $GITHUB_OUTPUT
echo "OUT_NAME_FILE=${{ env.OUT_NAME_FILE }}" >> $GITHUB_OUTPUT
build-gui-and-upload-assets:
needs: ["publish", "compute"]
env:
Expand All @@ -98,12 +98,35 @@ jobs:
source .venv/bin/activate &&
poetry run make gui-macos &&
cd dist &&
pwd &&
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 ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg/ -x "*.DS_Store"
# - os: "windows-2019"
# TARGET: "windows-2019"
# CMD_BUILD: pyinstaller -F -w -n clipster -i resources/clipster.ico cli.py
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg/ -x "*.DS_Store" &&
cd ..
- os: "macos-13"
TARGET: "macos-13"
CMD_BUILD: >
brew install create-dmg &&
source .venv/bin/activate &&
poetry run make gui-macos &&
cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg/ -x "*.DS_Store" &&
cd ..
- os: "ubuntu-20.04"
TARGET: "ubuntu-20.04"
CMD_BUILD: >
source .venv/bin/activate &&
poetry run make gui &&
cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}} &&
cd ..
- os: "windows-2019"
TARGET: "windows-2019"
CMD_BUILD: >
choco feature enable -n=allowGlobalConfirmation
choco install zip make
source .venv/bin/activate &&
poetry run make gui &&
cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.exe &&
cd ..
runs-on: ${{ matrix.os }}
steps:
- name: Check out
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tidal-dl-ng"
version = "0.4.18"
version = "0.4.19"
description = "TIDAL Medial Downloader Next Generation!"
authors = ["Robert Honz <[email protected]>"]
repository = "https://github.com/exislow/tidal-dl-ng"
Expand All @@ -13,7 +13,7 @@ packages = [
[tool.poetry]
name = "tidal-dl-ng"
authors = ["Robert Honz <[email protected]>"]
version = "0.4.18"
version = "0.4.19"
description = "TIDAL Medial Downloader Next Generation!"
repository = "https://github.com/exislow/tidal-dl-ng"
documentation = "https://exislow.github.io/tidal-dl-ng/"
Expand Down
1 change: 1 addition & 0 deletions tidal_dl_ng/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@


# TODO: Make more use of Exceptions
# TODO: Add File -> Version
class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
settings: Settings = None
tidal: Tidal = None
Expand Down

0 comments on commit 7487c63

Please sign in to comment.