[DRE-commits] [diaspora-installer] 01/06: switch to 0.5.0.0-RC
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Apr 29 14:11:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit 6fd414fd332b6bd32a51daab35fe5305a245898f
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Apr 15 14:47:19 2015 +0530
switch to 0.5.0.0-RC
---
debian/changelog | 5 +++--
debian/postinst | 7 ++++++-
diaspora-common.conf | 5 ++++-
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b920cac..05687b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-diaspora-installer (0.4) UNRELEASED; urgency=medium
+diaspora-installer (0.5.0.0+debian1) UNRELEASED; urgency=medium
[Akshay S Dinesh]
* Add a README file explaining the choices and steps
@@ -7,8 +7,9 @@ diaspora-installer (0.4) UNRELEASED; urgency=medium
[Pirate Praveen]
* Install README as doc
* Needs bundler >= 1.7 to parse per gem source option in Gemfile
+ * Switch to 0.5.0.0 release
- -- Pirate Praveen <praveen at debian.org> Sun, 29 Mar 2015 17:53:50 +0530
+ -- Pirate Praveen <praveen at debian.org> Wed, 15 Apr 2015 14:44:12 +0530
diaspora-installer (0.3) unstable; urgency=medium
diff --git a/debian/postinst b/debian/postinst
index 699191c..0512062 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -46,7 +46,12 @@ case "$1" in
mkdir -p ${diaspora_cache}
if ! test -f ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz
then
- wget -O ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz https://github.com/diaspora/diaspora/archive/v${diaspora_version}.tar.gz
+ if [[ ${diaspora_release_type} -eq "branch" ]]
+ then
+ wget -O ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz ${github_archive_url}/release/${diaspora_version}.tar.gz
+ else
+ wget -O ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz ${github_archive_url}/v${diaspora_version}.tar.gz
+ fi
fi
echo "Already downloaded..."
echo "Extracting files..."
diff --git a/diaspora-common.conf b/diaspora-common.conf
index 54e1dea..c547b3d 100644
--- a/diaspora-common.conf
+++ b/diaspora-common.conf
@@ -1,4 +1,7 @@
-export diaspora_version=0.4.1.2
+export diaspora_version=0.5.0.0-RC
+# possible values branch, tag
+export diaspora_release_type=branch
+export github_archive_url=https://github.com/diaspora/diaspora/archive
export diaspora_user=diaspora
export diaspora_conf=/etc/diaspora.conf
export diaspora_home=/usr/share/diaspora
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git
More information about the Pkg-ruby-extras-commits
mailing list