Skip to content

Commit

Permalink
Appease SemVer by using - instead of +.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis Leidel authored Apr 5, 2019
1 parent cdc665a commit 15c9e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/update_version
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MOZILLA_VERSION="$1"
bin/dockerflow-version "$MOZILLA_VERSION"

VERSION=$(jq -r .version package.json)
FULL_VERSION=$VERSION+b$CIRCLE_BUILD_NUM+$MOZILLA_VERSION
FULL_VERSION=$VERSION+b$CIRCLE_BUILD_NUM-$MOZILLA_VERSION

sed -ri "s/^__version__ = '([A-Za-z0-9.-]*)'/__version__ = '$FULL_VERSION'/" redash/__init__.py
sed -i "s/dev/$CIRCLE_SHA1/" client/app/version.json

0 comments on commit 15c9e7a

Please sign in to comment.