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 a31cca6 commit e13ab14Copy full SHA for e13ab14
scripts/release/release.sh
@@ -1,12 +1,14 @@
1
#!/bin/bash
2
3
set -e
4
+set -x
5
-# Prepare will prepare the repository for release
6
+# release.sh will:
7
# 1. Modify changelog
8
# 2. Run changelog links script
-# 3. Commit changes
9
-# 4. Create a Git tag
+# 3. Modify version in meta/meta.go
10
+# 4. Commit and push changes
11
+# 5. Create a Git tag
12
13
function pleaseUseGNUsed {
14
echo "Please install GNU sed to your PATH as 'sed'."
@@ -72,7 +74,7 @@ function commitChanges {
72
74
git tag -a -m "v${TARGET_VERSION}" -s "v${TARGET_VERSION}"
73
75
fi
76
- git push origin master
77
+ git push origin "${CIRCLE_BRANCH}"
78
git push origin "v${TARGET_VERSION}"
79
}
80
0 commit comments