diff --git a/.woodpecker.yml b/.woodpecker.yml index 9a802be..42e3868 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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