added link to github release and releasing will now create a git tag

This commit is contained in:
Rick van Lieshout 2020-07-23 12:50:49 +02:00
parent 5910a110ce
commit 72443a758a
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [5.1.3] ## [[5.1.3](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/5.1.3)]
### changed ### changed

View File

@ -17,9 +17,9 @@
"scripts": { "scripts": {
"build": "webpack", "build": "webpack",
"prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write", "prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write",
"patch": "npm --no-git-tag-version version patch", "patch": "npm version patch",
"minor": "npm --no-git-tag-version version minor", "minor": "npm version minor",
"major": "npm --no-git-tag-version version major", "major": "npm version major",
"release": "npm run build && git add -A && git commit -m 'version bump and build' && git push && npm publish", "release": "npm run build && git add -A && git commit -m 'version bump and build' && git push && npm publish",
"release-patch": "npm run patch && npm run release", "release-patch": "npm run patch && npm run release",
"release-minor": "npm run minor && npm run release", "release-minor": "npm run minor && npm run release",