aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2018-11-25 09:43:21 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2018-11-25 09:43:21 +0100
commita03c4d90b2c3a84ecb994417e2877a7d847b462c (patch)
tree64b6456507ecb57e8c5a4af8f499f65e6d462c36 /scripts
parentbffe65478de71113a16f6e7a7ef75845c9d61180 (diff)
downloadwallabag-a03c4d90b2c3a84ecb994417e2877a7d847b462c.tar.gz
wallabag-a03c4d90b2c3a84ecb994417e2877a7d847b462c.tar.zst
wallabag-a03c4d90b2c3a84ecb994417e2877a7d847b462c.zip
Jump to 2.3.5-dev and update release process
After the latest release, I update the documentation about it so it’s more clear
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