Skip to content

Commit dc54697

Browse files
committed
releng: Include date in version string for next versions
This is to make sure -next versions sort properly so 'yarn upgrade' upgrades to valid newer versions. fixes #78 Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent 48d8efa commit dc54697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"clean": "lerna run clean",
3737
"test": "lerna run test --",
3838
"publish:latest": "lerna publish --registry=https://registry.npmjs.org/ --exact --no-git-tag-version --no-push",
39-
"publish:next": "lerna publish --registry=https://registry.npmjs.org/ --exact --canary minor --preid=next.$(git rev-parse --short HEAD) --dist-tag=next --no-git-tag-version --no-push --yes"
39+
"publish:next": "lerna publish --registry=https://registry.npmjs.org/ --exact --canary minor --preid=next.$(date -u '+%Y%m%d%H%M%S').$(git rev-parse --short HEAD) --dist-tag=next --no-git-tag-version --no-push --yes"
4040
}
4141
}

0 commit comments

Comments
 (0)