Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrildiagne committed Dec 31, 2019
1 parent 959a8d9 commit 42a164a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/get-kuda-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -e

VERSION=0.3.4
VERSION=0.3.3-preview

green="\033[32m"
red="\033[31m"
Expand Down
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ -z "$1" ]; then
exit 1
fi

VERSION=$1
VERSION=$1-preview
printf "${green}Releasing v$VERSION...${reset}\n"

# Tidy.
Expand All @@ -32,8 +32,8 @@ git add scripts/get-kuda-cli.sh
git commit -m "update get script to version $VERSION"

# Tag & push branch for CI release.
git tag v$VERSION-preview -m "Preview release."
git push origin v$VERSION-preview
git tag v$VERSION -m "Preview release."
git push origin v$VERSION

# Master.
# git checkout master
Expand Down

0 comments on commit 42a164a

Please sign in to comment.