Skip to content

Commit

Permalink
publish_release.py: determine SSH_USER (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdarwin authored Jul 23, 2024
1 parent 5ef1ef2 commit a180ecc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions publish_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,8 @@ def copyStagingS3():
#

if not options.dryrun:
try:
load_dotenv()
SSH_USER = os.getenv("SSH_USER")
except:
SSH_USER = "mclow"
load_dotenv()
SSH_USER = os.getenv("SSH_USER", "mclow")

list_of_uploaded_files = []
for s in suffixes:
Expand Down

0 comments on commit a180ecc

Please sign in to comment.