Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
chore(travis): make build-version only have 7 chars of sha
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Sep 8, 2014
1 parent e59e064 commit 6071305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis-build-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function init {
function run {
cd ../

NEW_VERSION="$(readJsonProp "package.json" "version")-$SHA"
NEW_VERSION="$(readJsonProp "package.json" "version")-$(echo $SHA | head -c 7)"

./scripts/bower-release.sh --new-version=$NEW_VERSION
}
Expand Down

0 comments on commit 6071305

Please sign in to comment.