summaryrefslogtreecommitdiff
path: root/azurelinuxagent/common/version.py
diff options
context:
space:
mode:
authorƁukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com>2018-02-15 14:28:59 +0100
committerusd-importer <ubuntu-server@lists.ubuntu.com>2018-02-15 19:08:29 +0000
commitd885152bedbdd289f7d6a3d24ab875fd4393bdff (patch)
tree02695107ec9b72658266399201bde17f806601cf /azurelinuxagent/common/version.py
parentbdfe3a4fa9bd487ec5f40e829742e127476d2c8a (diff)
downloadvyos-walinuxagent-d885152bedbdd289f7d6a3d24ab875fd4393bdff.tar.gz
vyos-walinuxagent-d885152bedbdd289f7d6a3d24ab875fd4393bdff.zip
Import patches-unapplied version 2.2.21+really2.2.20-0ubuntu1~16.04.1 to ubuntu/xenial-proposed
Imported using git-ubuntu import. Changelog parent: bdfe3a4fa9bd487ec5f40e829742e127476d2c8a New changelog entries: * Backport bionic version to xenial. * Revert to an older upstream release: 2.2.20 (LP: #1749589). - Rename upstream tarball to 2.2.21+really2.2.20 to end up with a temporarily higher version number than what's in the archive. * debian/patches/disable_import_test.patch: refreshed patch.
Diffstat (limited to 'azurelinuxagent/common/version.py')
-rw-r--r--azurelinuxagent/common/version.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/azurelinuxagent/common/version.py b/azurelinuxagent/common/version.py
index f743f11..eeef1f3 100644
--- a/azurelinuxagent/common/version.py
+++ b/azurelinuxagent/common/version.py
@@ -113,7 +113,7 @@ def get_distro():
AGENT_NAME = "WALinuxAgent"
AGENT_LONG_NAME = "Azure Linux Agent"
-AGENT_VERSION = '2.2.21'
+AGENT_VERSION = '2.2.20'
AGENT_LONG_VERSION = "{0}-{1}".format(AGENT_NAME, AGENT_VERSION)
AGENT_DESCRIPTION = """
The Azure Linux Agent supports the provisioning and running of Linux
@@ -161,17 +161,14 @@ def set_current_agent():
version = AGENT_VERSION
return agent, FlexibleVersion(version)
-
def is_agent_package(path):
path = os.path.basename(path)
return not re.match(AGENT_PKG_PATTERN, path) is None
-
def is_agent_path(path):
path = os.path.basename(path)
return not re.match(AGENT_NAME_PATTERN, path) is None
-
CURRENT_AGENT, CURRENT_VERSION = set_current_agent()