We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0cf2c commit 93d4366Copy full SHA for 93d4366
release.sh
@@ -8,6 +8,11 @@ VERSION="$(echo $YB_GIT_BRANCH | sed -e 's|refs/tags/||g')"
8
TOKEN="${RELEASE_TOKEN}"
9
RELEASE_KEY="${RELEASE_KEY}"
10
11
+if [ -z "${CHANNEL}" ]; then
12
+ echo "Channel not set, will release as unstable"
13
+ CHANNEL="unstable"
14
+fi
15
+
16
umask 077
17
18
cleanup() {
@@ -31,6 +36,7 @@ tar zxvf release-tool-stable-linux-amd64.tgz
31
36
--signing-key="${KEY_FILE}" \
32
37
--app="$APP" \
33
38
--token="${TOKEN}" \
39
+ --channel"${CHANNEL}" \
34
40
-- \
35
41
-ldflags "-X main.version=$VERSION -X 'main.date=$(date)'" \
42
"github.com/yourbase/${PROJECT}"
0 commit comments