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.
1 parent 2fd6420 commit b6a1296Copy full SHA for b6a1296
scripts/release.sh
@@ -0,0 +1,32 @@
1
+#!/usr/bin/env bash
2
+
3
+set -Eeuo pipefail
4
5
+version=$1
6
7
+if test -z "$version"
8
+then
9
+ exit;
10
+fi
11
12
+echo "release new version: "$version
13
14
+echo "{\n\t\"name\": \"botbuilder-spring-boot\",\n\t\"version\":\"${version}\"\n}" > package.json
15
16
+npx conventional-changelog -p angular -i CHANGELOG.md -s
17
18
+mvn versions:set -DnewVersion=$version
19
20
+rm -r -f package.json
21
22
+git add CHANGELOG.md
23
+git add pom.xml
24
+git add **/pom.xml
25
26
+git commit -m "chore(release): v${version}"
27
+git tag v${version}
28
29
30
+rm -r -f pom.xml.versionsBackup
31
+rm -r -f **/pom.xml.versionsBackup
32
0 commit comments