Skip to content

Commit b5e70de

Browse files
authored
Prepare for release 3.0.1 (#655)
1 parent a093121 commit b5e70de

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

RELEASING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Releasing
33

44
1. Bump the VERSION_NAME property in `gradle.properties` based on Major.Minor.Patch naming scheme
55
2. Update `CHANGELOG.md`, adding the new release version and release notes
6-
3. `commitAndTagRelease Major.Minor.Patch`
6+
3. `./commitAndTagRelease.sh Major.Minor.Patch`
77
1. This will make a commit with the given release number and add the version tag
8-
2. eg "commitAndTagRelease 3.0.1"
8+
2. eg "./commitAndTagRelease.sh 3.0.1"
99
4. Add your sonatype login information under gradle properties mavenCentralUsername and mavenCentralPassword in your local user gradle.properties file
1010
5. `./gradlew publish` to build the artifacts and publish them to maven
1111
6. Open PR on Github and merge. Github action automated_github_release.yml will automatically publish as release on github

commitAndTagRelease.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Pass in a release number, eg 3.0.1
2-
c "Prepare for release $1" && git tag -a "v$1" -m "Release $1"
2+
git commit -am "Prepare for release $1" && git tag -a "v$1" -m "Release $1"
3+
git push -u origin HEAD
4+
branchName=$(git rev-parse --abbrev-ref HEAD)
5+
/usr/bin/open -a "/Applications/Google Chrome.app" "https://github.com/airbnb/mavericks/compare/$branchName?expand=1"

mvrx-common/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
plugins {
44
id 'java-library'
55
id 'org.jetbrains.kotlin.jvm'
6+
id 'com.vanniktech.maven.publish'
67
}
78

89
tasks.withType(KotlinCompile).all {

0 commit comments

Comments
 (0)