Skip to content

Commit

Permalink
Prepare for release 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart committed Sep 30, 2022
1 parent a093121 commit 693e979
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Releasing

1. Bump the VERSION_NAME property in `gradle.properties` based on Major.Minor.Patch naming scheme
2. Update `CHANGELOG.md`, adding the new release version and release notes
3. `commitAndTagRelease Major.Minor.Patch`
3. `./commitAndTagRelease.sh Major.Minor.Patch`
1. This will make a commit with the given release number and add the version tag
2. eg "commitAndTagRelease 3.0.1"
2. eg "./commitAndTagRelease.sh 3.0.1"
4. Add your sonatype login information under gradle properties mavenCentralUsername and mavenCentralPassword in your local user gradle.properties file
5. `./gradlew publish` to build the artifacts and publish them to maven
6. Open PR on Github and merge. Github action automated_github_release.yml will automatically publish as release on github
Expand Down
5 changes: 4 additions & 1 deletion commitAndTagRelease.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Pass in a release number, eg 3.0.1
c "Prepare for release $1" && git tag -a "v$1" -m "Release $1"
git commit -am "Prepare for release $1" && git tag -a "v$1" -m "Release $1"
git push -u origin HEAD
branchName=$(git rev-parse --abbrev-ref HEAD)
/usr/bin/open -a "/Applications/Google Chrome.app" "https://github.com/airbnb/mavericks/compare/$branchName?expand=1"
1 change: 1 addition & 0 deletions mvrx-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm'
id 'com.vanniktech.maven.publish'
}

tasks.withType(KotlinCompile).all {
Expand Down

0 comments on commit 693e979

Please sign in to comment.