diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-11-25 22:21:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-25 22:21:19 +0100 |
commit | bf483b628e1c5aacb170d5e2e9491ab505494b77 (patch) | |
tree | 64b6456507ecb57e8c5a4af8f499f65e6d462c36 /scripts | |
parent | bffe65478de71113a16f6e7a7ef75845c9d61180 (diff) | |
parent | a03c4d90b2c3a84ecb994417e2877a7d847b462c (diff) | |
download | wallabag-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-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 |