At this moment every time, we call a deploy cmd (fn deploy) it bumps function's version, but the new version of a function should appear only in case if deploy was successful, in other cases that should remain the same, so we need to revert function's version in case if deploy fails.
At this moment every time, we call a deploy cmd (
fn deploy
) it bumps function's version, but the new version of a function should appear only in case if deploy was successful, in other cases that should remain the same, so we need to revert function's version in case if deploy fails.