File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 26
26
JIRA_STORY : ' '
27
27
JIRA_STORY_DIR : ' '
28
28
command : |
29
- if [ "$CIRCLE_BRANCH" != "develop " ]; then
29
+ if [ "$CIRCLE_BRANCH" != "master " ]; then
30
30
PR_NUMBER=$(basename $CIRCLE_PULL_REQUEST)
31
- PR_TITLE=$(curl -sSL "https://api.github.com/repos/fynafin /$CIRCLE_PROJECT_REPONAME/pulls/$PR_NUMBER" | jq -r '.title')
31
+ PR_TITLE=$(curl -sSL "https://api.github.com/repos/openmf /$CIRCLE_PROJECT_REPONAME/pulls/$PR_NUMBER" | jq -r '.title')
32
32
JIRA_STORY=-$(echo $PR_TITLE | cut -d "[" -f2 | cut -d "]" -f1 | tr '[A-Z]' '[a-z]')
33
33
if [ -z "$JIRA_STORY" ]; then echo "Invalid PR title" && exit 1; else echo "Ticket NO: $JIRA_STORY" && JIRA_STORY_DIR=$(echo /jira-story-version); fi
34
34
echo Charts will save in https://fynarfin.io/images$JIRA_STORY_DIR
39
39
sed -i "12s@^ *version:.*\$@ version: 0.0.0$JIRA_STORY@" ph-ee-env-labs/helm/ph-ee-g2p-sandbox-ci/Chart.yaml
40
40
echo "chart used: < $CHART_URL >"
41
41
else
42
- CHART_URL="https://fynarfin.io/images/fynafin/ ph-ee-g2p-sandbox-ci-0.0.0"
42
+ CHART_URL="https://fynarfin.io/images/ph-ee-g2p-sandbox-ci-0.0.0"
43
43
echo "chart used: < $CHART_URL >"
44
44
fi
45
45
sed -i "6s/.*/version: 0.0.0$JIRA_STORY/" ph-ee-env-labs/helm/ph-ee-g2p-sandbox-ci/Chart.yaml
You can’t perform that action at this time.
0 commit comments