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

add git.tag to get the tag on a certain commit #72

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

blackwhale
Copy link

Context

${git.tags} returns all the tags contains the current commit and ${git.closest.tag.name} could return the tag name not belonging to the commit. A new property is added in this PR, ${git.tag}, which returns the tag(s) of a certain commit and empty string if the commit doesn't has a tag.

Contributor Checklist

  • [v] Added relevant integration or unit tests to verify the changes
  • [v] Update the Readme or any other documentation (including relevant Javadoc)
  • [v] Ensured that tests pass locally: mvn clean package
  • [v] Ensured that the code meets the current checkstyle coding style definition: mvn clean verify -Pcheckstyle -Dmaven.test.skip=true -B

@TheSnoozer
Copy link
Contributor

Hello, thanks for your contribution! LGTM.

@TheSnoozer TheSnoozer added this to the 6.0.0 milestone Nov 27, 2023
@TheSnoozer TheSnoozer merged commit 2c24fc7 into git-commit-id:master Nov 27, 2023
12 checks passed
@TheSnoozer TheSnoozer modified the milestones: 6.0.0, 6.0.0-rc.7 Mar 3, 2024
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