music-kraken-core/.woodpecker.yml

40 lines
911 B
YAML
Raw Normal View History

2024-04-15 18:44:19 +00:00
labels:
platform: linux/amd64
steps:
build:
image: python
commands:
- sed -i 's/name = "music-kraken"/name = "music-kraken-stable"/' pyproject.toml
2024-04-15 18:44:19 +00:00
- 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: plugins/pypi
settings:
skip_build: true
repository: "https://gitea.elara.ws/api/packages/music-kraken/pypi"
username:
2024-04-15 19:48:56 +00:00
from_secret: gitea_username
2024-04-15 18:44:19 +00:00
password:
2024-04-15 19:48:56 +00:00
from_secret: gitea_password
2024-04-15 18:44:19 +00:00
when:
- event: manual
- event: tag
- event: push
branch: experimental