Skip to content

Commit b504134

Browse files
committed
Sanjana | BDSHR - 910 | publishing versioned rpms.Minor version corresponds to go build counter.
1 parent b2745c7 commit b504134

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build-dist.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
./gradlew clean test dist -Prelease=$GO_PIPELINE_COUNTER

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ task exportProperties(dependsOn: 'assembly') << {
123123
task dist(dependsOn: 'exportProperties', type: Rpm) {
124124
packageName = 'identity-server'
125125
version = '0.1'
126-
release = 1
126+
release = project.hasProperty('release') ? project.release : '1'
127127
arch = NOARCH
128128
os = LINUX
129129

0 commit comments

Comments
 (0)