diff --git a/VERSION b/VERSION index c043eea77..b1b25a5ff 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.1 +2.2.2 diff --git a/scripts/os_version b/scripts/os_version index 4022983f0..72e110151 100755 --- a/scripts/os_version +++ b/scripts/os_version @@ -66,6 +66,9 @@ main() { *'scientific'* ) distro_id='scientific' ;; + *'amazon linux'* ) + distro_id='ami' + ;; * ) error "/etc/issue contained an unsupported linux distibution: $issue" exit 1 @@ -87,6 +90,9 @@ main() { debian_version=$(cat /etc/debian_version | tr '[:upper:]' '[:lower:]') distro_version=${debian_version%%.*} ;; + 'ami' ) + distro_version='ami' + ;; * ) error "/etc/issue contained an unsupported linux distibution: $issue" exit 1 @@ -157,7 +163,7 @@ main() { distro_version=${distro_version%.*} distro_short="${distro_id}${distro_version}" ;; - 'amzn' ) + 'amzn' | 'ami' ) distro_long="ami" distro_short="ami" ;; diff --git a/src/main/aerospike.c b/src/main/aerospike.c index 1f6e8630d..660218cd4 100644 --- a/src/main/aerospike.c +++ b/src/main/aerospike.c @@ -82,7 +82,7 @@ AerospikeConstants operator_constants[] = { MOD_INIT(aerospike) { - const char version[8] = "2.2.1"; + const char version[8] = "2.2.2"; // Makes things "thread-safe" PyEval_InitThreads(); int i = 0;