Merge pull request #8 from linuxserver/fetch_version_from_github

get version from github
This commit is contained in:
sparklyballs 2018-06-11 16:53:35 +01:00 committed by GitHub
commit 2f5ac76a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -128,9 +128,11 @@ RUN \
install -Dm644 /tmp/patches/xcache.ini /etc/php5/conf.d/xcache.ini && \
echo "**** install projectsend ****" && \
rm /var/www/localhost/htdocs/index.html && \
PROJS_TAG=$(curl -sX GET "https://api.github.com/repos/projectsend/projectsend/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
curl -o \
/tmp/ProjectSend.tar.gz -L \
"https://codeload.github.com/ignacionelson/ProjectSend/tar.gz/r1053" && \
"https://github.com/projectsend/projectsend/archive/$PROJS_TAG.tar.gz" && \
tar -zxf \
/tmp/ProjectSend.tar.gz --strip-components=1 -C /var/www/localhost/htdocs/ && \
mv /var/www/localhost/htdocs/upload /defaults/ && \

View File

@ -84,5 +84,6 @@ More info at [ProjectSend][appurl].
## Versions
+ **11.06.17:** Fetch version from github.
+ **09.12.17:** Rebase to alpine 3.7.
+ **13.06.17:** Initial Release.