Commit 44b70fc Irfan Habib
authored
File tree 1 file changed +4
-3
lines changed
deploy/ci/tasks/dev-releases
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 16
16
- |
17
17
# Create Github release
18
18
ROOT_DIR=${PWD}
19
- cd ${ROOT_DIR}/stratos
19
+ STRATOS=${ROOT_DIR}/stratos
20
+ cd ${STRATOS}
20
21
mkdir -p /root/.ssh/
21
22
TAG=$(cat ${STRATOS}/deploy/ci/tasks/dev-releases/nightly-tag)
22
23
github-release info -t $TAG
23
24
if [ $? -eq 0 ]; then
24
25
echo 'Release ${TAG} exists, deleting...'
25
26
github-release delete $TAG
26
27
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)
29
30
github-release release -t ${TAG} --pre-release --name ${NAME} --description ${DESC}
30
31
cd ${ROOT_DIR}/helm-chart-tarball
31
32
CHART_PACKAGE=$(ls *.tgz)
You can’t perform that action at this time.
0 commit comments