Skip to content

Commit

Permalink
Prepare for release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccasc committed Feb 19, 2022
1 parent 15ae53d commit 425c1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

sourceCompatibility = 1.8

project.version = "1.0.1"
project.version = "1.0.2"
josm.pluginName = "PicLayer"

sourceSets {
Expand Down

1 comment on commit 425c1f6

@floscher
Copy link
Member

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.:

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.

See also the docs for git-tag:
grafik

Please sign in to comment.