Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update publish script #19

Merged
merged 2 commits into from
May 18, 2015
Merged

update publish script #19

merged 2 commits into from
May 18, 2015

Conversation

kanitw
Copy link
Member

@kanitw kanitw commented May 18, 2015

  • check if jq has been installed
  • check if all files are committed
  • exit on npm publish failed.

# exit if npm publish failed
rc=$?
if [[ $rc != 0 ]]; then
echo "${RED} npm publish failed. Publishing cancelled. ${NC} \n\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eek! Tab characters?

jheer added a commit that referenced this pull request May 18, 2015
@jheer jheer merged commit a150ce9 into master May 18, 2015
@jheer jheer deleted the kw/pub2 branch May 18, 2015 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants