mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
Set starting patch number to '1' since increment doesn't work with 0s
This commit is contained in:
@@ -50,7 +50,7 @@ if [[ -z "${current_version:-}" ]] ; then
|
|||||||
current_version="0.0.0"
|
current_version="0.0.0"
|
||||||
;;
|
;;
|
||||||
calver)
|
calver)
|
||||||
current_version="$(date '+%Y.%-m.0')"
|
current_version="$(date '+%Y.%-m.1')"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user