upload.sh: no version from branch name resolution
local undo with state recalculation