ci: 👷 create --first-release if no git tag
ci/woodpecker/pr/woodpecker Pipeline failed Details

issues/1
RaviAnand Mohabir 2 years ago
parent 5402c5ad62
commit 7a130eae54

@ -3,4 +3,11 @@ pipeline:
image: node:19
commands:
- npm install --global standard-version
- standard-version --dry-run
- |
if [[ $(git tag) -ne 0 ]]; then
standard-version
else
standard-version --first-release
fi
branches: main

Loading…
Cancel
Save