remove pre-release CI script as it doesnt work correctly [CI SKIP]
All checks were successful
ci/woodpecker/tag/tests Pipeline was successful
ci/woodpecker/tag/publish_release Pipeline was successful
ci/woodpecker/tag/publish_docker_arm64 Pipeline was successful
ci/woodpecker/tag/publish_docker_amd64 Pipeline was successful
ci/woodpecker/tag/publish_docker_manifest Pipeline was successful
All checks were successful
ci/woodpecker/tag/tests Pipeline was successful
ci/woodpecker/tag/publish_release Pipeline was successful
ci/woodpecker/tag/publish_docker_arm64 Pipeline was successful
ci/woodpecker/tag/publish_docker_amd64 Pipeline was successful
ci/woodpecker/tag/publish_docker_manifest Pipeline was successful
This commit is contained in:
parent
c594f17693
commit
0572baceeb
2 changed files with 1 additions and 92 deletions
|
@ -1,85 +0,0 @@
|
||||||
###################
|
|
||||||
# publish pre-release #
|
|
||||||
###################
|
|
||||||
# branch: dev
|
|
||||||
# event: tag
|
|
||||||
|
|
||||||
platform: linux/amd64
|
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- tests
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git:v1.6.0
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
tag: "*-dev"
|
|
||||||
|
|
||||||
pipeline:
|
|
||||||
|
|
||||||
# build wheel and dist
|
|
||||||
build-pypi:
|
|
||||||
image: cr.44net.ch/ci-plugins/tests
|
|
||||||
pull: true
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
tag: "*-dev"
|
|
||||||
commands:
|
|
||||||
- python3 -m hatch build --clean
|
|
||||||
|
|
||||||
# create pre-release-notes
|
|
||||||
create-pre-release-notes:
|
|
||||||
image: cr.44net.ch/baseimages/debian-base
|
|
||||||
pull: true
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
tag: "*-dev"
|
|
||||||
commands:
|
|
||||||
- bash get_release_notes.sh ${CI_COMMIT_TAG%%-dev}
|
|
||||||
|
|
||||||
# publish pre-release on github (github.com/olofvndrhr/manga-dlp)
|
|
||||||
publish-pre-release-github:
|
|
||||||
image: woodpeckerci/plugin-github-release
|
|
||||||
pull: true
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
tag: "*-dev"
|
|
||||||
settings:
|
|
||||||
api_key:
|
|
||||||
from_secret: github-olofvndrhr-token
|
|
||||||
files: dist/*
|
|
||||||
title: ${CI_COMMIT_TAG}
|
|
||||||
note: RELEASENOTES.md
|
|
||||||
prerelease: true
|
|
||||||
|
|
||||||
# publish pre-release on gitea (git.44net.ch/olofvndrhr/manga-dlp)
|
|
||||||
publish-pre-release-gitea:
|
|
||||||
image: woodpeckerci/plugin-gitea-release
|
|
||||||
pull: true
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
tag: "*-dev"
|
|
||||||
settings:
|
|
||||||
api_key:
|
|
||||||
from_secret: gitea-olofvndrhr-token
|
|
||||||
base_url: https://git.44net.ch
|
|
||||||
files: dist/*
|
|
||||||
title: ${CI_COMMIT_TAG}
|
|
||||||
note: RELEASENOTES.md
|
|
||||||
prerelease: true
|
|
||||||
|
|
||||||
# # pre-release pypi
|
|
||||||
# pre-release-pypi:
|
|
||||||
# image: cr.44net.ch/ci-plugins/tests
|
|
||||||
# pull: true
|
|
||||||
# when:
|
|
||||||
# event: tag
|
|
||||||
# tag: "*-dev"
|
|
||||||
# secrets:
|
|
||||||
# - source: pypi_username
|
|
||||||
# target: HATCH_INDEX_USER
|
|
||||||
# - source: pypi_token
|
|
||||||
# target: HATCH_INDEX_AUTH
|
|
||||||
# commands:
|
|
||||||
# - python3 -m hatch publish --no-prompt --yes
|
|
|
@ -14,7 +14,6 @@ clone:
|
||||||
image: woodpeckerci/plugin-git:v1.6.0
|
image: woodpeckerci/plugin-git:v1.6.0
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: "*[!-dev]"
|
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
|
|
||||||
|
@ -24,7 +23,6 @@ pipeline:
|
||||||
pull: true
|
pull: true
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: "*[!-dev]"
|
|
||||||
commands:
|
commands:
|
||||||
- python3 -m hatch build --clean
|
- python3 -m hatch build --clean
|
||||||
|
|
||||||
|
@ -34,9 +32,8 @@ pipeline:
|
||||||
pull: true
|
pull: true
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: "*[!-dev]"
|
|
||||||
commands:
|
commands:
|
||||||
- bash get_release_notes.sh ${CI_COMMIT_TAG}
|
- bash get_release_notes.sh ${CI_COMMIT_TAG%%-dev}
|
||||||
|
|
||||||
# publish release on github (github.com/olofvndrhr/manga-dlp)
|
# publish release on github (github.com/olofvndrhr/manga-dlp)
|
||||||
publish-release-github:
|
publish-release-github:
|
||||||
|
@ -44,7 +41,6 @@ pipeline:
|
||||||
pull: true
|
pull: true
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: "*[!-dev]"
|
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: github-olofvndrhr-token
|
from_secret: github-olofvndrhr-token
|
||||||
|
@ -58,7 +54,6 @@ pipeline:
|
||||||
pull: true
|
pull: true
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: "*[!-dev]"
|
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea-olofvndrhr-token
|
from_secret: gitea-olofvndrhr-token
|
||||||
|
@ -73,7 +68,6 @@ pipeline:
|
||||||
pull: true
|
pull: true
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: "*[!-dev]"
|
|
||||||
secrets:
|
secrets:
|
||||||
- source: pypi_username
|
- source: pypi_username
|
||||||
target: HATCH_INDEX_USER
|
target: HATCH_INDEX_USER
|
||||||
|
|
Loading…
Reference in a new issue