Skip to content

Commit 44b70fc

Browse files
author
Irfan Habib
authored
Merge pull request #30 from cloudfoundry-incubator/alpha-releases-pipeline
Alpha releases pipeline
2 parents 3d12ff2 + aa953af commit 44b70fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

deploy/ci/tasks/dev-releases/update-gh-nightly-release.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ run:
1616
- |
1717
# Create Github release
1818
ROOT_DIR=${PWD}
19-
cd ${ROOT_DIR}/stratos
19+
STRATOS=${ROOT_DIR}/stratos
20+
cd ${STRATOS}
2021
mkdir -p /root/.ssh/
2122
TAG=$(cat ${STRATOS}/deploy/ci/tasks/dev-releases/nightly-tag)
2223
github-release info -t $TAG
2324
if [ $? -eq 0 ]; then
2425
echo 'Release ${TAG} exists, deleting...'
2526
github-release delete $TAG
2627
fi
27-
NAME=$(cat stratos/deploy/ci/tasks/dev-releases/nightly-release-name)
28-
DESC=$(cat stratos/deploy/ci/tasks/dev-releases/nightly-release-description)
28+
NAME=$(cat ${STRATOS}/deploy/ci/tasks/dev-releases/nightly-release-name)
29+
DESC=$(cat ${STRATOS}/deploy/ci/tasks/dev-releases/nightly-release-description)
2930
github-release release -t ${TAG} --pre-release --name ${NAME} --description ${DESC}
3031
cd ${ROOT_DIR}/helm-chart-tarball
3132
CHART_PACKAGE=$(ls *.tgz)

0 commit comments

Comments
 (0)