2023-11-04 20:36:45 +01:00
|
|
|
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
|
2024-12-29 19:42:57 +01:00
|
|
|
environment:
|
|
|
|
GITEA_TOKEN:
|
|
|
|
from_secret: gitea_token
|
|
|
|
GIT_CREDENTIALS:
|
|
|
|
from_secret: git_credentials
|
2023-11-04 20:36:45 +01:00
|
|
|
commands:
|
|
|
|
- npm i
|
|
|
|
- npm run release
|