File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ rm -rf /var/lib/apt/lists/*
15
15
16
16
curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.4/concourse-java.sh > /opt/concourse-java.sh
17
17
18
- curl --output /opt/concourse-release-scripts.jar https://repo.spring.io/release/io/spring/concourse/releasescripts/concourse-release-scripts/0.3.3/concourse-release-scripts-0.3.3.jar
19
-
20
18
# ##########################################################
21
19
# JAVA
22
20
# ##########################################################
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ CONFIG_DIR=git-repo/ci/config
6
6
version=$( cat artifactory-repo/build-info.json | jq -r ' .buildInfo.modules[0].id' | sed ' s/.*:.*:\(.*\)/\1/' )
7
7
export BUILD_INFO_LOCATION=$( pwd) /artifactory-repo/build-info.json
8
8
9
- java -jar /opt/ concourse-release-scripts.jar \
9
+ java -jar /concourse-release-scripts.jar \
10
10
--spring.config.location=${CONFIG_DIR} /release-scripts.yml \
11
11
publishToCentral $RELEASE_TYPE $BUILD_INFO_LOCATION artifactory-repo || { exit 1; }
12
12
13
- java -jar /opt/ concourse-release-scripts.jar \
13
+ java -jar /concourse-release-scripts.jar \
14
14
--spring.config.location=${CONFIG_DIR} /release-scripts.yml \
15
15
promote $RELEASE_TYPE $BUILD_INFO_LOCATION || { exit 1; }
16
16
Original file line number Diff line number Diff line change 1
1
---
2
2
platform : linux
3
+ image_resource :
4
+ type : registry-image
5
+ source :
6
+ repository : springio/concourse-release-scripts
7
+ tag : ' 0.3.4-SNAPSHOT'
3
8
inputs :
4
- - name : git-repo
5
- - name : artifactory-repo
9
+ - name : git-repo
10
+ - name : artifactory-repo
6
11
outputs :
7
- - name : version
12
+ - name : version
8
13
params :
9
14
RELEASE_TYPE :
10
15
ARTIFACTORY_SERVER :
11
16
ARTIFACTORY_USERNAME :
12
17
ARTIFACTORY_PASSWORD :
13
- SONATYPE_USER :
14
- SONATYPE_PASSWORD :
15
- SONATYPE_URL :
16
- SONATYPE_STAGING_PROFILE_ID :
17
18
run :
18
19
path : git-repo/ci/scripts/promote-version.sh
You can’t perform that action at this time.
0 commit comments