We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
semver
1 parent bd39ae5 commit d9b8b8aCopy full SHA for d9b8b8a
angular-semver-sort.js
@@ -361,6 +361,10 @@ SemVer.prototype.inc = function(release) {
361
this.inc('pre');
362
break;
363
case 'prepatch':
364
+ // If this is already a prerelease, it will bump to the next version
365
+ // drop any prereleases that might already exist, since they are not
366
+ // relevant at this point.
367
+ this.prerelease.length = 0
368
this.inc('patch');
369
370
package.json
@@ -5,7 +5,7 @@
5
"author": "Dominik Porada",
6
"license": "BSD",
7
"dependencies": {
8
- "semver": "2.3.0"
+ "semver": "2.3.1"
9
},
10
"devDependencies": {
11
"karma": "~0.12.16",
0 commit comments