diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-11-25 09:43:21 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-11-25 09:43:21 +0100 |
commit | a03c4d90b2c3a84ecb994417e2877a7d847b462c (patch) | |
tree | 64b6456507ecb57e8c5a4af8f499f65e6d462c36 /scripts | |
parent | bffe65478de71113a16f6e7a7ef75845c9d61180 (diff) | |
download | wallabag-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-x | scripts/release.sh | 8 |
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 | ||
10 | rm -rf $TMP_FOLDER/$RELEASE_FOLDER | 10 | rm -rf $TMP_FOLDER/$RELEASE_FOLDER |
11 | mkdir $TMP_FOLDER/$RELEASE_FOLDER | 11 | mkdir $TMP_FOLDER/$RELEASE_FOLDER |
12 | git clone git@github.com:wallabag/wallabag.git -b $VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION | 12 | git clone git@github.com:wallabag/wallabag.git -b release-$VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION |
13 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV COMPOSER_MEMORY_LIMIT=-1 composer up -n --no-dev | 13 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV COMPOSER_MEMORY_LIMIT=-1 composer up -n --no-dev |
14 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV | 14 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV -n |
15 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative | 15 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative |
16 | cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION | 16 | cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION |
17 | echo "MD5 checksum of the package for wallabag $VERSION" | 17 | echo "MD5 checksum of the package for wallabag $VERSION" |
18 | md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz | 18 | md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-release-$VERSION.tar.gz |
19 | echo "Package to upload to the release server:" | 19 | echo "Package to upload to the release server:" |
20 | echo $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz | 20 | echo $TMP_FOLDER/$RELEASE_FOLDER/wallabag-release-$VERSION.tar.gz |