Skip to content

Commit

Permalink
[#531] drop -alpha label from version
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 26, 2019
1 parent 40daf53 commit faa649d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/bump-version
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ fi

date_pattern="+%Y.%m.%d"
today=$(date $date_pattern)
version="$today-alpha"
version="$today"

if [ "$1" = "release" ]; then
echo -e "$version" > resources/CLJ_KONDO_VERSION
elif [ "$1" = "post-release" ]; then
cat resources/CLJ_KONDO_VERSION > resources/CLJ_KONDO_RELEASED_VERSION
tomorrow=$($date_cmd $date_pattern --date='next day')
snapshot_version="$tomorrow-alpha-SNAPSHOT"
snapshot_version="$tomorrow-SNAPSHOT"
echo "$snapshot_version" > resources/CLJ_KONDO_VERSION
else
echo "Usage: script/bump-version ( release | post-release )"
Expand Down

0 comments on commit faa649d

Please sign in to comment.