labels: platform: linux/amd64 steps: build: image: python commands: - 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: - sed -i 's/name = "music-kraken"/name = "music-kraken-unstable"/' pyproject.toml - 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: from_secret: gitea-username password: from_secret: gitea-password when: - event: manual - event: tag - event: push branch: experimental