You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Building the MSI package requires the version to be purely numerical (eg 0.0.0),
# which is not the case for development or custom builds.
# This specifically works around the following issue:
# C:\a\vector\vector\target\msi-x64\vector.wxs(6) : error CNDL0108 : The Product/@Version attribute's value, '0.29.0.custom.a28ecdc', is not a valid version.
# Legal version values should look like 'x.x.x.x' where x is an integer from 0 to 65534.
# Normalize both `0.59.0-dev` and `0.59.0-dev.custom.a28ecdc` to `0.59.0` while
# retaining the full version in archive names.
if [[ "$ARCHIVE_VERSION" =~ ^([0-9]+\.[0-9]+\.[0-9]+)($|[-.]) ]]; then
PACKAGE_VERSION="${BASH_REMATCH[1]}"
else
echo "Could not derive a numeric MSI version from $ARCHIVE_VERSION" >&2