Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
set -euo pipefail
ref=HEAD
old_version="$(git describe --abbrev=0 "$ref^1")"
version="$(./scripts/version.sh)"
version="v$(./scripts/version.sh)"

# Generate notes.
release_notes_file="$(mktemp -t release_notes.XXXXXX)"
Expand Down
3 changes: 3 additions & 0 deletions scripts/release/generate_release_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ fi
if [[ -z $new_version ]]; then
error "No new version specified"
fi
if [[ $new_version != v* ]]; then
error "New version must start with a v"
fi
if [[ -z $ref ]]; then
error "No ref specified"
fi
Expand Down