Skip to content

Commit a5e466b

Browse files
committed
Merge branch '2.0.x'
2 parents c3a193c + 53811b7 commit a5e466b

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

ci/pipeline.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ jobs:
344344
- name: promote-milestone
345345
serial: true
346346
plan:
347-
- get: ci-image
348347
- get: git-repo
349348
trigger: false
350349
- get: artifactory-repo
@@ -354,7 +353,6 @@ jobs:
354353
download_artifacts: false
355354
save_build_info: true
356355
- task: promote
357-
image: ci-image
358356
file: git-repo/ci/tasks/promote.yml
359357
params:
360358
RELEASE_TYPE: M
@@ -375,7 +373,6 @@ jobs:
375373
- name: promote-rc
376374
serial: true
377375
plan:
378-
- get: ci-image
379376
- get: git-repo
380377
trigger: false
381378
- get: artifactory-repo
@@ -385,7 +382,6 @@ jobs:
385382
download_artifacts: false
386383
save_build_info: true
387384
- task: promote
388-
image: ci-image
389385
file: git-repo/ci/tasks/promote.yml
390386
params:
391387
RELEASE_TYPE: RC
@@ -406,7 +402,6 @@ jobs:
406402
- name: promote-release
407403
serial: true
408404
plan:
409-
- get: ci-image
410405
- get: git-repo
411406
trigger: false
412407
- get: artifactory-repo
@@ -416,7 +411,6 @@ jobs:
416411
download_artifacts: true
417412
save_build_info: true
418413
- task: promote
419-
image: ci-image
420414
file: git-repo/ci/tasks/promote.yml
421415
params:
422416
RELEASE_TYPE: RELEASE

ci/scripts/promote.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
#!/bin/bash
22

3-
source $(dirname $0)/common.sh
43
CONFIG_DIR=git-repo/ci/config
54

65
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
76
export BUILD_INFO_LOCATION=$(pwd)/artifactory-repo/build-info.json
87

9-
java -jar /opt/concourse-release-scripts.jar \
8+
java -jar /concourse-release-scripts.jar \
109
--spring.config.location=${CONFIG_DIR}/release-scripts.yml \
1110
publishToCentral $RELEASE_TYPE $BUILD_INFO_LOCATION artifactory-repo || { exit 1; }
1211

13-
java -jar /opt/concourse-release-scripts.jar \
12+
java -jar /concourse-release-scripts.jar \
1413
--spring.config.location=${CONFIG_DIR}/release-scripts.yml \
1514
promote $RELEASE_TYPE $BUILD_INFO_LOCATION || { exit 1; }
1615

1716
echo "Promotion complete"
18-
echo $version > version/version
17+
echo $version > version/version

0 commit comments

Comments
 (0)