Compare commits

..

No commits in common. "81eb43c8ef72945c6eeda663b854b6cffd260497" and "ba94e38a2d800d2d477af0457dcab7f67a70617b" have entirely different histories.

6 changed files with 5 additions and 73 deletions

3
.gitignore vendored
View File

@ -18,6 +18,3 @@ venv
windows
.env
# setuptools_scm
_version.py

View File

@ -1,57 +0,0 @@
labels:
platform: linux/amd64
clone:
git:
image: woodpeckerci/plugin-git
settings:
tags: true
steps:
build-stable:
image: python
commands:
- sed -i 's/name = "music-kraken"/name = "music-kraken-stable"/' pyproject.toml
- python -m pip install -r requirements-dev.txt
- python3 -m build
environment:
- SETUPTOOLS_SCM_PRETEND_VERSION=${CI_COMMIT_TAG}
when:
- event: tag
build-dev:
image: python
commands:
- python -m pip install -r requirements-dev.txt
- python3 -m build
when:
- event: manual
- event: push
branch: experimental
publish-gitea:
image: gitea.elara.ws/music-kraken/plugin-twine
settings:
repository_url: "https://gitea.elara.ws/api/packages/music-kraken/pypi"
username:
from_secret: gitea_username
password:
from_secret: gitea_password
when:
- event: manual
- event: tag
- event: push
branch: experimental
publish-pypi:
image: gitea.elara.ws/music-kraken/plugin-twine
settings:
username:
from_secret: pypi_username
password:
from_secret: pypi_password
when:
- event: manual
- event: tag
- event: push
branch: experimental

View File

@ -1,7 +1,5 @@
# Music Kraken
[![Woodpecker CI Status](https://ci.elara.ws/api/badges/59/status.svg)](https://ci.elara.ws/repos/59)
<img src="assets/logo.svg" width=300 alt="music kraken logo"/>
- [Music Kraken](#music-kraken)

2
build
View File

@ -45,4 +45,4 @@ then
exit
fi
twine upload dist/music_kraken*
twine upload dist/music_kraken*

View File

@ -9,6 +9,8 @@ from rich.console import Console
from .utils.shared import DEBUG, DEBUG_LOGGING
from .utils.config import logging_settings, main_settings, read_config
__version__ = "1.15.0"
read_config()
console: Console = Console()

View File

@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling", "hatch-requirements-txt", "hatch-vcs"]
requires = ["hatchling", "hatch-requirements-txt" ]
build-backend = "hatchling.build"
[tool.hatch.build]
@ -15,15 +15,7 @@ packages = ["music_kraken"]
music-kraken = "music_kraken.__main__:cli"
[tool.hatch.version]
source = "vcs"
path = "music_kraken/_version.py"
fallback-version = "0.0.0"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.hooks.vcs]
version-file = "music_kraken/_version.py"
path = "music_kraken/__init__.py"
[project]
name = "music-kraken"