-
Notifications
You must be signed in to change notification settings - Fork 0
update VERSION during a release #400
Copy link
Copy link
Open
Labels
choreNon source related, infrasture changeNon source related, infrasture change
Description
the .VERSION file change not being committed during a release, see this:
if ! git add ./VERSION; then
# echo "!!! Aborted! Failed to git add VERSION file" #error/item
gum style "$(_e "!!! Aborted! Failed to git add $(_i 'VERSION') file")"
return 1
fi
if [ -e ./VERSION-PATH ]; then
version_path=$(more ./VERSION-PATH)
echo "$raw_version" > "$version_path"
if ! git add "$version_path"; then
# echo "!!! ⛔ Aborted! Failed to git add VERSION-PATH file ($version_path)" #error/item
gum style "!!! $(_e 'Aborted! Failed to git add VERSION-PATH file') ($("_i $version_path"))"
return 1
fi
fiwe only commit VERSION-PATH, but we don't commit .VERSION.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
choreNon source related, infrasture changeNon source related, infrasture change