Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Issue #6: Git reset the bump commit when the tag already exists. #7

Conversation

marcellodesales
Copy link

This is performed by using the git module "gift" and not issuing
a git tag if it exists. That way, this fixes #6 properly.

https://github.com/notatestuser/gift#reporesettreeish-options-callback

After this point, we just reset HEAD^.

  • modified: index.js
  • Implementing the steps to get the git repo, and the list of tags
  • modified: package.json
  • Bumping the version manually to 1.1.1.

This is performed by using the git module "gift" and not issuing
a git tag if it exists.

https://github.com/notatestuser/gift#reporesettreeish-options-callback

After this point, we just reset HEAD^.

*	modified:   index.js
- Implementing the steps to get the git repo, and the list of tags

*	modified:   package.json
- Bumping the version manually to 1.1.1.
@ikari-pl ikari-pl closed this Dec 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Git bump commit" should have been reverted if the the command "git tag" fails
2 participants