You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@rebeccasc If you use either the -a or -s flag with git-tag (which create an annotated tag instead of a lightweight one), then the project version can be determined automatically based on the git tag.
So e.g.:
git tag -a v1.0.3
That opens a text editor where you can enter a tag message with release notes (just as for commit messages).
Then you can just remove the line setting project.version from the build.gradle file. The version will then be automatically determined.
425c1f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rebeccasc If you use either the
-a
or-s
flag with git-tag (which create an annotated tag instead of a lightweight one), then the project version can be determined automatically based on the git tag.So e.g.:
That opens a text editor where you can enter a tag message with release notes (just as for commit messages).
Then you can just remove the line setting
project.version
from thebuild.gradle
file. The version will then be automatically determined.See also the docs for git-tag: