21 lines
525 B
YAML
21 lines
525 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: release
|
|
|
|
steps:
|
|
- name: semantic-release
|
|
image: node:18
|
|
commands:
|
|
- env
|
|
- git remote set-url origin https://$CI_COMMIT_AUTHOR:$GITEA_TOKEN@coincoingit.fr/$CI_REPO_NAME.git
|
|
- npm install -g semantic-release conventional-changelog-conventionalcommits @saithodev/semantic-release-gitea @semantic-release/changelog
|
|
- semantic-release
|
|
environment:
|
|
GITEA_TOKEN:
|
|
from_secret: GITEA_TOKEN
|
|
GITEA_URL: https://coincoingit.fr
|
|
when:
|
|
event:
|
|
exclude:
|
|
- tag
|