aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release.sh
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-03-01 14:17:07 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-03-01 14:17:07 +0100
commit1d13376df684077b27fe4f156dd51ee999bf41e2 (patch)
treeaec5d10ad4e9d82c6a82cdffa83dc87b21d2a727 /scripts/release.sh
parent29969f854c9d99974fca7f32a49c8aeb1938afe8 (diff)
downloadwallabag-1d13376df684077b27fe4f156dd51ee999bf41e2.tar.gz
wallabag-1d13376df684077b27fe4f156dd51ee999bf41e2.tar.zst
wallabag-1d13376df684077b27fe4f156dd51ee999bf41e2.zip
Fixed symlinks issue during release creation
Diffstat (limited to 'scripts/release.sh')
-rw-r--r--scripts/release.sh1
1 files changed, 1 insertions, 0 deletions
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
12git clone git@github.com:wallabag/wallabag.git -b $VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION 12git clone git@github.com:wallabag/wallabag.git -b $VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION
13cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV composer up -n --no-dev 13cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV composer up -n --no-dev
14cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV 14cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV
15cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative
15cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION 16cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION
16echo "MD5 checksum of the package for wallabag $VERSION" 17echo "MD5 checksum of the package for wallabag $VERSION"
17md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz 18md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz