Skip to content

Commit

Permalink
chore(bower/publish): read dist-tag from correct package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Nov 24, 2015
1 parent d9ec995 commit 9190d4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/bower/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ function init {
TMP_DIR=$(resolveDir ../../tmp)
BUILD_DIR=$(resolveDir ../../build)
NEW_VERSION=$(cat $BUILD_DIR/version.txt)
PROJECT_DIR=$(resolveDir ../..)
# get the npm dist-tag from a custom property (distTag) in package.json
DIST_TAG=$(readJsonProp "package.json" "distTag")
DIST_TAG=$(readJsonProp "$PROJECT_DIR/package.json" "distTag")
}


Expand Down

0 comments on commit 9190d4c

Please sign in to comment.