Skip to content
Snippets Groups Projects
Commit e3f17805 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

fix: Add semantic-release script.

parent b36987c1
No related branches found
No related tags found
No related merge requests found
Pipeline #328455 failed
......@@ -37,7 +37,8 @@
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"postpublish": "[ \"${npm_config_tag:-latest}\" != latest ] || npm run gh-pages",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0"
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment