-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update configs to prepare for release
- Loading branch information
Showing
6 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
check-master: | ||
if [[ `git rev-parse --abbrev-ref HEAD` != "master" ]]; then exit 1; fi | ||
|
||
no-unstaged: | ||
git diff-index --quiet HEAD -- # checks for unstaged/uncomitted files | ||
|
||
pull: | ||
git pull | ||
|
||
lint: | ||
./gradlew clean ktlintCheck detekt | ||
|
||
tag: | ||
git tag "v`grep 'VERSION_NAME' protobuf_java_to_protobufjs/gradle.properties | cut -d'=' -f2 | tr -d '\n'`" | ||
git push --tags | ||
|
||
upload: | ||
./gradlew :protobuf_java_to_protobufjs:assemble :protobuf_java_to_protobufjs:publish | ||
|
||
release: check-master no-unstaged pull lint tag upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters