Skip to content

Commit 1736b28

Browse files
authored
Merge pull request #460 from logoutdhaval/build-ci
fix for ci build step
2 parents 44fc3f1 + 5de13fc commit 1736b28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
JIRA_STORY: ''
2727
JIRA_STORY_DIR: ''
2828
command: |
29-
if [ "$CIRCLE_BRANCH" != "develop" ]; then
29+
if [ "$CIRCLE_BRANCH" != "master" ]; then
3030
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')
3232
JIRA_STORY=-$(echo $PR_TITLE | cut -d "[" -f2 | cut -d "]" -f1 | tr '[A-Z]' '[a-z]')
3333
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
3434
echo Charts will save in https://fynarfin.io/images$JIRA_STORY_DIR
@@ -39,7 +39,7 @@ jobs:
3939
sed -i "12s@^ *version:.*\$@ version: 0.0.0$JIRA_STORY@" ph-ee-env-labs/helm/ph-ee-g2p-sandbox-ci/Chart.yaml
4040
echo "chart used: < $CHART_URL >"
4141
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"
4343
echo "chart used: < $CHART_URL >"
4444
fi
4545
sed -i "6s/.*/version: 0.0.0$JIRA_STORY/" ph-ee-env-labs/helm/ph-ee-g2p-sandbox-ci/Chart.yaml

0 commit comments

Comments
 (0)