Skip to content

Commit

Permalink
Fix publishing latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 17, 2019
1 parent fdf2dea commit 58bdb0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildtools/travis-npm-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ then
then
echo "Publish daily version"
$RUN npm install --no-save fluid-publish
$RUN node_modules/.bin/fluid-publish devTag="version-${MAIN_BRANCH}-latest"
if [ "${TRAVIS_BRANCH}" = "master" ]
then
$RUN node_modules/.bin/fluid-publish devTag="latest"
else
$RUN node_modules/.bin/fluid-publish devTag="version-${MAIN_BRANCH}-latest"
fi
fi
fi
fi

0 comments on commit 58bdb0f

Please sign in to comment.