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

Don't increment the version tag if the current commit has been tagged #11

Closed
reececomo opened this issue Sep 20, 2019 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@reececomo
Copy link
Contributor

Love this project, just started using it in a private repo.

Occasionally we trigger this GitHub Action remotely for a blank deploy/re-deploy. It would be great if there was an early-exit check like (pseudocode):

if HEAD == COMMIT {
    echo "Commit already tagged as version $VERSION"
    return 0;
}
@anothrNick anothrNick added the enhancement New feature or request label Sep 20, 2019
anothrNick added a commit that referenced this issue Sep 23, 2019
Skip version bump if commit already has tag (#11)
@anothrNick
Copy link
Owner

Resolved with https://github.com/anothrNick/github-tag-action/releases/tag/1.5.0

@reececomo Thanks for the contribution!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants