Commit d0379c0
committed
Add npm script for release versioning
Version is set in `package.json` (used as npm package version) and in
`src/version.js` (used to create driver's user agent string).
Script is named `versionRelease` and requires `VERSION` env variable to be set.
Examples:
```
VERSION=1.1.5 npm run versionRelease
VERSION=1.1.5-rc01 npm run versionRelease
VERSION=1.1.5-alpha03 npm run versionRelease
```1 parent 98272d2 commit d0379c0
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments