From be1003a3181a9533b0ec33451b2c885e74c7f82c Mon Sep 17 00:00:00 2001 From: Moul Date: Wed, 22 Jun 2016 18:31:03 +0000 Subject: [PATCH] [enh] retrive upstream version from a file. Upgrade to v0.20.0a86 --- conf/upstream_version | 1 + scripts/install | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 conf/upstream_version diff --git a/conf/upstream_version b/conf/upstream_version new file mode 100644 index 0000000..94d7ee2 --- /dev/null +++ b/conf/upstream_version @@ -0,0 +1 @@ +v0.20.0a86 diff --git a/scripts/install b/scripts/install index 912ece5..59066f0 100755 --- a/scripts/install +++ b/scripts/install @@ -13,7 +13,7 @@ sync_port=$5 salt=$6 password=$7 cpu=`bc -l <<< "scale=2; $8/100"` -version="v0.20.0a84" +version=$(cat ../conf/upstream_version) # Source app helpers source /usr/share/yunohost/helpers