8000 provides autosnapshoting · FTTF-git/rsocket-java@ac68ce3 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac68ce3

Browse files
committed
provides autosnapshoting
Signed-off-by: Oleh Dokuka <shadowgun@i.ua> Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
1 parent 88ee909 commit ac68ce3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@ subprojects {
4646
googleJavaFormat {
4747
toolVersion = '1.6'
4848
}
49-
49+
50+
ext {
51+
if (project.hasProperty('versionSuffix')) {
52+
project.version += project.getProperty('versionSuffix')
53+
}
54+
}
55+
5056
dependencyManagement {
5157
imports {
5258
mavenBom "io.projectreactor:reactor-bom:${ext['reactor-bom.version']}"

ci/travis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ] && [ "$bin
1111
./gradlew \
1212
-PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" \
1313
-PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" \
14+
-PversionSuffix="-SNAPSHOT" \
1415
build artifactoryPublish --stacktrace
1516

1617
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ] && [ "$bintrayUser" != "" ] ; then

0 commit comments

Comments
 (0)
0