We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dce87eb commit c9277c1Copy full SHA for c9277c1
.build/pre-release.ps1
@@ -0,0 +1,7 @@
1
+$timestamp = Get-Date -Format yyyyMMddhhmmss
2
+$patchVersion = (npm --no-git-tag version patch)
3
+$nextVersion = "${patchVersion}-next.${timestamp}".Substring(1)
4
+echo $nextVersion
5
+
6
+npm version --no-git-tag -f $nextVersion
7
+npm run publish:next
.build/pre-release.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+set -ex
+patchVersion=$(npm --no-git-tag version patch)
+nextVersion=${patchVersion}-next."$(date +%Y%m%d%H%M%S)"
+echo "${nextVersion:1}"
8
+npm version --no-git-tag -f "${nextVersion:1}"
9
.build/release.ps1
@@ -0,0 +1 @@
+npm publish
.build/release.sh
@@ -0,0 +1,4 @@
0 commit comments