Skip to content

Commit

Permalink
grabbranch name
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Dec 12, 2024
1 parent 3a2e1c9 commit 29540b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/dockstore_api/fetch_dockstore_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def fetch_commit_id(token, repository, version_name):
if not commit_id:
raise ValueError("Commit ID could not be found.")

logging.info(f"Dockstore Commit ID: {commit_id}")
return commit_id

if __name__ == "__main__":
Expand All @@ -55,6 +54,6 @@ def fetch_commit_id(token, repository, version_name):

try:
commit_id = fetch_commit_id(token, repository, version_name)
logging.info(commit_id)
logging.info(f"Dockstore Commit ID: {commit_id}")
except Exception as e:
logging.error(f"Error: {e}")

0 comments on commit 29540b1

Please sign in to comment.