Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Commit cc644b6

Browse files
authored
Fix github URL in release step (#353)
* Compose a valid github URL. * Add a git diff step for debugging. Signed-off-by: Ben Kochie <[email protected]>
1 parent 29a5115 commit cc644b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ jobs:
7070
tar -zvxf git-chglog.tar.gz git-chglog && \
7171
chmod 755 git-chglog
7272
- run: ./git-chglog --output CHANGELOG.md --next-tag "${NEW_TAG}"
73+
- run: git diff
7374
- run: git add CHANGELOG.md
7475
- run: git commit -m "[ci skip] Automatic changelog update"
75-
- run: git push "https://${GH_TOKEN}:@${GIT_URL}" || circleci-agent step halt
76+
- run: git push "https://${GH_TOKEN}:@github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git" || circleci-agent step halt
7677
- run:
7778
name: Publishing release
7879
command: |

0 commit comments

Comments
 (0)