kubeprobes/.woodpecker/.release.yml
Piotr Icikowski f5bdf6dbf4
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci(release): update release workflow
2024-12-29 19:42:57 +01:00

16 lines
436 B
YAML

when:
- event: push
evaluate: '(CI_COMMIT_BRANCH == "devel" && not (CI_COMMIT_MESSAGE startsWith "release")) || (CI_COMMIT_BRANCH == "main" && not (CI_COMMIT_MESSAGE startsWith "release(stable)"))'
steps:
semantic-release:
image: node:latest
environment:
GITEA_TOKEN:
from_secret: gitea_token
GIT_CREDENTIALS:
from_secret: git_credentials
commands:
- npm i
- npm run release