Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Don't publish by default in apm-publish.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonw committed Mar 6, 2018
1 parent 2383454 commit 6d391a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/apm-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached

git add -A && git commit -m "Release ${VERSION}"

if [[ "$1" != "--dry-run" ]]; then
git tag "${VERSION}"
git push origin "${VERSION}"

apm publish --tag "${VERSION}"
fi
echo
echo "Run 'apm link' and manually verify that the release seems OK."
echo "When ready, run:"
echo " git tag ${VERSION}"
echo " git push origin ${VERSION}"
echo " apm publish --tag ${VERSION}"

0 comments on commit 6d391a3

Please sign in to comment.