build:Revert back to cli arguments while specifying custom command
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
5b950a3834
commit
f1dfc83d7c
22
.drone.yml
22
.drone.yml
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user