File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ Releasing
3
3
4
4
1 . Bump the VERSION_NAME property in ` gradle.properties ` based on Major.Minor.Patch naming scheme
5
5
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`
7
7
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"
9
9
4 . Add your sonatype login information under gradle properties mavenCentralUsername and mavenCentralPassword in your local user gradle.properties file
10
10
5 . ` ./gradlew publish ` to build the artifacts and publish them to maven
11
11
6 . Open PR on Github and merge. Github action automated_github_release.yml will automatically publish as release on github
Original file line number Diff line number Diff line change 1
1
# 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"
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
3
plugins {
4
4
id ' java-library'
5
5
id ' org.jetbrains.kotlin.jvm'
6
+ id ' com.vanniktech.maven.publish'
6
7
}
7
8
8
9
tasks. withType(KotlinCompile ). all {
You can’t perform that action at this time.
0 commit comments