semantic-release

generating version tags using semantic-release without the v

对着背影说爱祢 提交于 2021-02-17 05:11:55
问题 How can I use git tags with the format major . minor . patch , without the " v " in the beginning (i.e. versions 1.0.1, 2.0.1)? I'm using Gitlab CI, but even using the Docker image locally I'm not able to pass the value to tag-format correctly. What I'm trying to do: npx --no-install semantic-release --tag-format "\${version}" The error log: [8:42:06 PM] [semantic-release] › ✖ ETAGNOVERSION Invalid tagFormat option. The tagFormat (https://github.com/semantic-release/semantic-release/blob

How to grant permission for semantic-release to push code to master

丶灬走出姿态 提交于 2021-01-28 05:11:29
问题 I'm using semantic-release to automatically define the next version, update package.json and push to git . However, I'm facing a problem where it stop me from direct pushing to master . I'm using GitLab . my release.config.js module.exports = { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/npm", ["@semantic-release/git", { "assets": ["dist/**/*.{js,css}", "docs", "package.json"], "message":