File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ rm -rf /var/lib/apt/lists/*
14
14
15
15
curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.4/concourse-java.sh > /opt/concourse-java.sh
16
16
17
- curl --output /opt/concourse-release-scripts.jar https://repo.spring.io/release/io/spring/concourse/releasescripts/concourse-release-scripts/0.3.2/concourse-release-scripts-0.3.2.jar
18
-
19
17
# ##########################################################
20
18
# JAVA
21
19
# ##########################################################
Original file line number Diff line number Diff line change 1
1
github-repo : " https://github.com/spring-projects/spring-framework.git"
2
2
github-repo-name : " spring-projects/spring-framework"
3
+ sonatype-staging-profile : " org.springframework"
3
4
docker-hub-organization : " springci"
4
5
artifactory-server : " https://repo.spring.io"
5
6
branch : " 5.3.x"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ anchors:
12
12
SONATYPE_USERNAME : ((sonatype-username))
13
13
SONATYPE_PASSWORD : ((sonatype-password))
14
14
SONATYPE_URL : ((sonatype-url))
15
- SONATYPE_STAGING_PROFILE_ID : ((sonatype-staging-profile-id ))
15
+ SONATYPE_STAGING_PROFILE : ((sonatype-staging-profile))
16
16
artifactory-task-params : &artifactory-task-params
17
17
ARTIFACTORY_SERVER : ((artifactory-server))
18
18
ARTIFACTORY_USERNAME : ((artifactory-username))
@@ -345,7 +345,6 @@ jobs:
345
345
download_artifacts : false
346
346
save_build_info : true
347
347
- task : promote
348
- image : ci-image
349
348
file : git-repo/ci/tasks/promote-version.yml
350
349
params :
351
350
RELEASE_TYPE : M
@@ -390,7 +389,6 @@ jobs:
390
389
download_artifacts : false
391
390
save_build_info : true
392
391
- task : promote
393
- image : ci-image
394
392
file : git-repo/ci/tasks/promote-version.yml
395
393
params :
396
394
RELEASE_TYPE : RC
@@ -435,7 +433,6 @@ jobs:
435
433
download_artifacts : true
436
434
save_build_info : true
437
435
- task : promote
438
- image : ci-image
439
436
file : git-repo/ci/tasks/promote-version.yml
440
437
params :
441
438
RELEASE_TYPE : RELEASE
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'
3
8
inputs :
4
9
- name : git-repo
5
10
- name : artifactory-repo
@@ -13,6 +18,6 @@ params:
13
18
SONATYPE_USER :
14
19
SONATYPE_PASSWORD :
15
20
SONATYPE_URL :
16
- SONATYPE_STAGING_PROFILE_ID :
21
+ SONATYPE_STAGING_PROFILE :
17
22
run :
18
23
path : git-repo/ci/scripts/promote-version.sh
You can’t perform that action at this time.
0 commit comments