Skip to content

Commit

Permalink
fixv4
Browse files Browse the repository at this point in the history
  • Loading branch information
thommythomaso committed Feb 26, 2024
1 parent 115688b commit 059e961
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
File renamed without changes.
10 changes: 10 additions & 0 deletions util/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"""Deploy script run by ci. Creates a deploy branch which includes generated files."""
import os
import time
import sys

# Git command fragments
CHECK_BRANCH_CMD = 'git rev-parse --verify'
Expand Down Expand Up @@ -40,6 +41,15 @@
last_deploy_hash = os.popen(f'{CHECK_BRANCH_CMD} {deploy_branch}').read()
deploy_msg = f'{current_msg}\n-----\n\nDeployed from {current_hash}'

print(f'\n\n{current_branch}\n\n')
print(f'\n\n{current_hash}\n\n')
print(f'\n\n{current_msg}\n\n')
print(f'\n\n{deploy_branch}\n\n')
print(f'\n\n{last_deploy_hash}\n\n')
print(f'\n\n{deploy_msg}\n\n')

sys.exit(0)

# checkout current working branch
os.popen(f'{GIT_CHECKOUT_CMD} {current_branch}')
time.sleep(0.5)
Expand Down

0 comments on commit 059e961

Please sign in to comment.