forked from codymikol/karma-webpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): simplify karma-webpack release (codymikol#200)
* chore(scripts): remove legacy release scripting * chore(package): add standard-version and supporting scripts * docs(release): updates release documentation
- Loading branch information
Showing
5 changed files
with
57 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
###Tag and Release process | ||
|
||
> Starting from a state where everything is in master that we want released. | ||
*The GitHub Portion* | ||
|
||
#### Standard release tag | ||
|
||
```bash | ||
# npm run script | ||
npm run release | ||
``` | ||
|
||
_This will ..._ | ||
|
||
1. bumps the version in _package.json (based on the commit history) | ||
2. updates _CHANGELOG.md_ for the currnet version | ||
3. commits _package.json_ and _CHANGELOG.md_ | ||
4. tags a new release | ||
|
||
#### Pre-Release tag | ||
|
||
```bash | ||
# npm run script | ||
npm run release -- --prerelease <alpha || beta || rc> | ||
``` | ||
|
||
_this does the above but tags the version `1.0.1-alpha.0`, `1.0.1-beta.0`, `1.0.1-rc.0`_ | ||
|
||
#### Push new tag to GitHub | ||
|
||
```bash | ||
# npm run script | ||
npm run release:tag:v1 | ||
``` | ||
|
||
_this pushes the newly created tag to github_ | ||
|
||
#### Publish to NPM | ||
|
||
```bash | ||
# npm run script | ||
npm login | ||
``` | ||
|
||
```bash | ||
# npm run script | ||
npm run release:publish | ||
``` | ||
|
||
_this runs the build ( with clean & linting ) and publishes karma-webpack to npm using the latest github tag (created above)_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.