Compare commits
No commits in common. 'main' and 'issues/1' have entirely different histories.
@ -1,25 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
type: kubernetes
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: standard-version
|
|
||||||
image: node:19
|
|
||||||
environment:
|
|
||||||
GIT_USERNAME:
|
|
||||||
from_secret: git_username
|
|
||||||
GIT_TOKEN:
|
|
||||||
from_secret: git_token
|
|
||||||
commands:
|
|
||||||
- git config --global user.email "moravrav@gmail.com"
|
|
||||||
- git config --global user.name "RaviAnand Mohabir"
|
|
||||||
- git config --global url."https://$GIT_USERNAME:$GIT_TOKEN@gitea.ravianand.me/".insteadOf "https://gitea.ravianand.me/"
|
|
||||||
- npm i -g standard-version
|
|
||||||
- 'standard-version --releaseCommitMessageFormat "chore(release): {{currentTag}} [CI SKIP]"'
|
|
||||||
- git push --follow-tags origin main
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
@ -0,0 +1,12 @@
|
|||||||
|
pipeline:
|
||||||
|
conventional_commits:
|
||||||
|
image: node:18
|
||||||
|
commands:
|
||||||
|
- git config --global user.email "moravrav@gmail.com"
|
||||||
|
- git config --global user.name "RaviAnand Mohabir"
|
||||||
|
- git config --global url."https://$GIT_USERNAME:$GIT_TOKEN@gitea.ravianand.me/".insteadOf "https://gitea.ravianand.me/"
|
||||||
|
- npm i -g standard-version
|
||||||
|
- standard-version
|
||||||
|
- git push origin $(git tag | tail -1)
|
||||||
|
|
||||||
|
branches: main
|
Loading…
Reference in New Issue