0.1.12 • Published 7 years ago
automate-release-webpack-plugin v0.1.12
automate-release-webpack-plugin
A webpack plugin which bumps your version number up in your package.json file and automates a release with Git, creating a tag and pushing up your commited code
How to use
webpack.config.js
const { AutomateRelease } = require('automate-release-webpack-plugin')
const path = require('path')
module.exports = {
entry: './app.js',
output: {
filename: 'app.js',
path: path.resolve(__dirname, 'dist')
},
plugins: [
new AutomateRelease( { preReleaseLabel: 'snapshot' } ) // Optional config 'preReleaseLabel' Example: 1.1.0-snapshot
]
};
Command Line
On the command line, provide a --env flag and give a value of either, major, minor or patch
webpack --config webpack.config.js --env patch
(If you are not sure which flag to provide, I recommend you give this a read)
Important Note
Windows Users
If you are running this plugin in a Windows environment please make sure you have Git Bash installed on your system and your git bash executable is set in your $PATH
variable
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.0
7 years ago