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 8d6e546 commit cbefb6a
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 @@ -35,7 +35,6 @@ def fetch_commit_id(token, repository, version_name):
if not commit_id:
raise ValueError("Commit ID could not be found.")

print(f"Dockstore Commit ID: {commit_id}")
return commit_id

if __name__ == "__main__":
Expand All @@ -49,4 +48,4 @@ def fetch_commit_id(token, repository, version_name):
commit_id = fetch_commit_id(token, repository, version_name)
print(commit_id)
except Exception as e:
print(f"Error: {e}")
print(f"Error: {e}")

0 comments on commit cbefb6a

Please sign in to comment.