From a03c4d90b2c3a84ecb994417e2877a7d847b462c Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 25 Nov 2018 09:43:21 +0100 Subject: Jump to 2.3.5-dev and update release process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After the latest release, I update the documentation about it so it’s more clear --- scripts/release.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') 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 rm -rf $TMP_FOLDER/$RELEASE_FOLDER mkdir $TMP_FOLDER/$RELEASE_FOLDER -git clone git@github.com:wallabag/wallabag.git -b $VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION +git clone git@github.com:wallabag/wallabag.git -b release-$VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV COMPOSER_MEMORY_LIMIT=-1 composer up -n --no-dev -cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV +cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV -n cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION echo "MD5 checksum of the package for wallabag $VERSION" -md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz +md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-release-$VERSION.tar.gz echo "Package to upload to the release server:" -echo $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz +echo $TMP_FOLDER/$RELEASE_FOLDER/wallabag-release-$VERSION.tar.gz -- cgit v1.2.3