build:Revert back to cli arguments while specifying custom command
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Danny Bessems 2023-05-22 09:23:44 +02:00
parent 5b950a3834
commit f1dfc83d7c
2 changed files with 19 additions and 3 deletions

View File

@ -53,20 +53,36 @@ steps:
npm install \
semantic-release \
@semantic-release/commit-analyzer \
@semantic-release/release-notes-generator\
@semantic-release/exec \
@semantic-release/git
- |
export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
- |
# npx semantic-release \
# --branches ${DRONE_BRANCH} \
# --dry-run
npx semantic-release \
--package @semantic-release/exec \
--package semantic-release \
--branches ${DRONE_BRANCH} \
--dry-run
--dry-run \
--plugins @semantic-release/commit-analyzer,@semantic-release/exec \
--analyzeCommits @semantic-release/commit-analyzer \
--verifyRelease @semantic-release/exec \
--verifyReleaseCmd 'echo ${nextRelease.version} > .\.version'
environment:
GIT_APIKEY:
from_secret: git_apikey
GIT_USERNAME: djpbessems
- name: Print version
depends_on:
- Semantic Release (Dry-run)
image: bv11-cr01.bessems.eu/library/packer-extended
pull: always
commands:
- |
cat .version
# - name: Install Ansible Galaxy collections
# depends_on:
# - Semantic Release (Dry-run)