Skip to content

Commit

Permalink
feat: updates to baseline and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
benjivesterby committed Mar 1, 2024
1 parent 0170754 commit 950fafc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@
}
],
"results": {},
"generated_at": "2024-03-01T00:43:47Z"
"generated_at": "2024-03-01T00:44:33Z"
}
6 changes: 5 additions & 1 deletion scripts/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ def run_command(command, capture_output=True, text=True):
if result.returncode != 0:
print(f"Command '{command}' failed with return code {result.returncode}")
sys.exit(result.returncode)
return result.stdout.strip()
out = result.stdout
try:
return out.strip()
except AttributeError:
return out

def main():
# Fetch the latest tag
Expand Down

0 comments on commit 950fafc

Please sign in to comment.