Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Dec 15, 2023
1 parent a28b94f commit e376de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Get the latest Git tag
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
latest_tag=$(git tag --sort=committerdate | grep -E '[0-9]' | tail -1)

# If there is no tag, exit the script
if [ -z "$latest_tag" ]; then
Expand Down

0 comments on commit e376de3

Please sign in to comment.