Skip to content

Commit 26a0577

Browse files
committed
[Java] Fix isReleaseVersion
1 parent 4bc8ade commit 26a0577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def sbeGroup = 'uk.co.real-logic'
4040
def sbeVersion = file('version.txt').text.trim()
4141

4242
ext {
43-
isReleaseVersion = !version.endsWith('-SNAPSHOT')
43+
isReleaseVersion = !sbeVersion.endsWith('-SNAPSHOT')
4444
releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
4545
snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
4646

0 commit comments

Comments
 (0)