Skip to content

Commit 46a882a

Browse files
committed
Add dry-run push
1 parent b3fc9b9 commit 46a882a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/update_changelog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ def main():
199199
# Push changes and tags.
200200
server = 'https://{}@github.com/{}.git'.format(
201201
GITHUB_TOKEN, GITHUB_REPOSITORY)
202-
print('would be pushing changes to branch {} of repository {}'.format(
202+
print('would be pushing changes to branch "{}" of repository "{}"'.format(
203203
GITHUB_REF_NAME, GITHUB_REPOSITORY))
204-
# repo.git.push(server, GITHUB_REF_NAME, dry_run=True)
204+
print(local_repo.git.push(server, GITHUB_REF_NAME, dry_run=True))
205205

206206

207207
if __name__ == '__main__':

0 commit comments

Comments
 (0)