Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.

Commit 6d56a6b

Browse files
committed
changed order of release dependencies
1 parent 931cfb0 commit 6d56a6b

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

build.gradle

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ publishing {
104104
}
105105
}
106106

107+
githubRelease {
108+
token = project.hasProperty('githubToken') ? project.property('githubToken') : ''
109+
owner "RediSearch"
110+
repo "spring-redisearch"
111+
releaseAssets distZip, distTar
112+
draft true
113+
body changelog()
114+
}
115+
107116
bintray {
108117
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : ''
109118
key = project.hasProperty('bintrayKey') ? project.property('bintrayKey') : ''
@@ -114,27 +123,18 @@ bintray {
114123
name = project.name
115124
licenses = ['Apache-2.0']
116125
vcsUrl = 'https://github.com/RediSearch/spring-redisearch.git'
117-
version {
118-
gpg {
119-
sign = true
120-
}
121-
mavenCentralSync {
122-
sync = true
123-
user = project.hasProperty('ossrhUsername') ? project.property('ossrhUsername') : ''
124-
password = project.hasProperty('ossrhPassword') ? project.property('ossrhPassword') : ''
125-
}
126-
}
126+
version {
127+
gpg {
128+
sign = true
129+
}
130+
mavenCentralSync {
131+
sync = true
132+
user = project.hasProperty('ossrhUsername') ? project.property('ossrhUsername') : ''
133+
password = project.hasProperty('ossrhPassword') ? project.property('ossrhPassword') : ''
134+
}
135+
}
127136
}
128137
}
129138

130-
githubRelease {
131-
token = project.hasProperty('githubToken') ? project.property('githubToken') : ''
132-
owner "RediSearch"
133-
repo "spring-redisearch"
134-
releaseAssets distZip, distTar
135-
draft true
136-
body changelog()
137-
}
138-
139139
afterReleaseBuild.dependsOn ":githubRelease"
140140
afterReleaseBuild.dependsOn bintrayUpload

0 commit comments

Comments
 (0)