mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Don't append number when doing a dev build
Found a bug where a number was being appended to the nightly dev builds package name causing the latest packages not to be considered as the latest packages by the package manager. This makes it so that the nubmer is not included on dev builds. Signed-off-by: Eli Uriegas <eli.uriegas@docker.com> Upstream-commit: 63be84fc6ed88847a003dfb32e0dc8bc9126411e Component: packaging
This commit is contained in:
@@ -27,6 +27,9 @@ gen_deb_version() {
|
||||
}
|
||||
|
||||
case "$VERSION" in
|
||||
*-dev)
|
||||
debVersion="$VERSION"
|
||||
;;
|
||||
*-tp[0-9]*)
|
||||
debVersion="$(gen_deb_version "$VERSION" tp 0)"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user