From: Nicolas LÅ“uillet Date: Wed, 1 Mar 2017 13:17:07 +0000 (+0100) Subject: Fixed symlinks issue during release creation X-Git-Tag: 2.2.2~3^2 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=1d13376df684077b27fe4f156dd51ee999bf41e2 Fixed symlinks issue during release creation --- diff --git a/scripts/release.sh b/scripts/release.sh index e118b87e..bfb65684 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -12,6 +12,7 @@ mkdir $TMP_FOLDER/$RELEASE_FOLDER git clone git@github.com:wallabag/wallabag.git -b $VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV composer up -n --no-dev cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV +cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION echo "MD5 checksum of the package for wallabag $VERSION" md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz