diff --git a/.drone.yml b/.drone.yml index 90ecbfb..cde320c 100644 --- a/.drone.yml +++ b/.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) diff --git a/.releaserc.json b/.releaserc.json.DISABLED similarity index 100% rename from .releaserc.json rename to .releaserc.json.DISABLED