Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ jobs:
id: semver
run: |
set -e
git fetch --tags
# remove any local tags to avoid "would clobber existing tag" errors
for t in $(git tag -l); do
git tag -d "$t" || true
done
git fetch --tags --force || true
describe=$(git describe --tags --match "v[0-9]*" --abbrev=7 2>/dev/null || true)
if [ -z "$describe" ]; then
version="0.1.0"
Expand Down