Skip to content

Creating commits only if changes present #1938

Discussion options

You must be logged in to vote

@gr2m I've simplified the approach I was taking after speaking with you yesterday because you helped me realize a few things:

  1. Not running any release commands unless a user's repo is clean was a good idea and I implemented it, however I had to use a third party library to do that through JS because I am not sure how to do it with this SDK. Is there an easy way to check repo status and if dirty, report so?
  2. I'm no longer making the unnecessary commit of the .tmp-npmrc and .npmrc files. Just creating those, publishing, and then removing is sufficient without git interaction.
  3. I've added --no-git-tag-version to the npm version [version] command as I realized auto does the tagging for you alre…

Replies: 9 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@reintroducing
Comment options

@gr2m
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@reintroducing
Comment options

@gr2m
Comment options

Comment options

You must be logged in to vote
1 reply
@gr2m
Comment options

Comment options

You must be logged in to vote
4 replies
@gr2m
Comment options

@reintroducing
Comment options

@gr2m
Comment options

@reintroducing
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@reintroducing
Comment options

Comment options

You must be logged in to vote
2 replies
@gr2m
Comment options

@reintroducing
Comment options

Answer selected by reintroducing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants