aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2018-11-25 22:21:19 +0100
committerGitHub <noreply@github.com>2018-11-25 22:21:19 +0100
commitbf483b628e1c5aacb170d5e2e9491ab505494b77 (patch)
tree64b6456507ecb57e8c5a4af8f499f65e6d462c36 /scripts
parentbffe65478de71113a16f6e7a7ef75845c9d61180 (diff)
parenta03c4d90b2c3a84ecb994417e2877a7d847b462c (diff)
downloadwallabag-bf483b628e1c5aacb170d5e2e9491ab505494b77.tar.gz
wallabag-bf483b628e1c5aacb170d5e2e9491ab505494b77.tar.zst
wallabag-bf483b628e1c5aacb170d5e2e9491ab505494b77.zip
Merge pull request #3778 from wallabag/better-release
Jump to 2.3.5-dev and update release process
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 6186a486..2356a3f0 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -9,12 +9,12 @@ ENV=$4
9 9
10rm -rf $TMP_FOLDER/$RELEASE_FOLDER 10rm -rf $TMP_FOLDER/$RELEASE_FOLDER
11mkdir $TMP_FOLDER/$RELEASE_FOLDER 11mkdir $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 release-$VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION
13cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV COMPOSER_MEMORY_LIMIT=-1 composer up -n --no-dev 13cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV COMPOSER_MEMORY_LIMIT=-1 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 -n
15cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative 15cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative
16cd $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
17echo "MD5 checksum of the package for wallabag $VERSION" 17echo "MD5 checksum of the package for wallabag $VERSION"
18md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz 18md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-release-$VERSION.tar.gz
19echo "Package to upload to the release server:" 19echo "Package to upload to the release server:"
20echo $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz 20echo $TMP_FOLDER/$RELEASE_FOLDER/wallabag-release-$VERSION.tar.gz