Do not increase the version if the current version is not published

Change-Id: I472f09bdd81d49bba215992a95ccc5e4b3232777
Reviewed-on: https://dart-review.googlesource.com/c/recipes/+/478402
Commit-Queue: Ivan Inozemtsev <iinozemtsev@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
6 files changed