fix: release anyway

This commit is contained in:
eric
2026-03-04 06:15:23 +01:00
parent c13502761c
commit b72bf4f187

View File

@@ -266,7 +266,11 @@ main() {
trap revert_on_failure ERR trap revert_on_failure ERR
local raw_version local raw_version
raw_version="$(do_read_version)" raw_version="$(do_read_version | grep -E '^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z]+\.[0-9]+)?$' | tail -n1)"
if [[ -z $raw_version ]]; then
echo "Error: could not determine current version from VERSION source" >&2
exit 1
fi
parse_full_version "$raw_version" parse_full_version "$raw_version"
log "Current: base=$BASE_VERSION channel=$CHANNEL pre=${PRERELEASE_NUM:-}" log "Current: base=$BASE_VERSION channel=$CHANNEL pre=${PRERELEASE_NUM:-}"