Skip to content

Commit

Permalink
Move versioning to file
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed May 6, 2024
1 parent 9c3c084 commit 2c8fa35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 0 additions & 4 deletions android/app/range/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ plugins {
}

android.defaultConfig.applicationId = "net.twisterrob.blt.range"
android.defaultConfig.version {
major = 1
minor = 1
}

dependencies {
implementation(projects.android.component.android)
Expand Down
3 changes: 3 additions & 0 deletions android/app/range/version.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
major=1
minor=1
patch=0
4 changes: 2 additions & 2 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

For the full process see [.github/release.md][releasing].

1. Double-check the version number in `android/app/range/build.gradle` is the same as the milestone, if not, PR.
1. Double-check the version number in `android/app/range/version.properties` is the same as the milestone, if not, PR.
1. Ensure clean latest working copy.
```shell
git checkout main
Expand Down Expand Up @@ -56,4 +56,4 @@ For the full process see [.github/release.md][releasing].
[pre-launch-report]: https://play.google.com/console/developers/7995455198986011414/app/4972239006863689375/pre-launch-report/overview

## Prepare next release
1. Update version number in android/app/range/build.gradle anticipating minor and commit to `main`.
1. Update version number in `android/app/range/version.properties` anticipating minor and PR to `main`.

0 comments on commit 2c8fa35

Please sign in to comment.