- git checkout v2
- git pull origin v2
- git checkout -b release-2.0.0-beta.1
- SYMFONY_ENV=prod composer up --no-dev
- git add --force composer.lock
- git add README.md
- git commit -m "Release wallabag 2.0.0-beta.1"
- git push origin release-2.0.0-beta.1
+git checkout master
+git pull origin master
+git checkout -b release-$LAST_WALLABAG_RELEASE
+SYMFONY_ENV=prod composer up --no-dev
+git add --force composer.lock
+git commit -m "Release wallabag $LAST_WALLABAG_RELEASE"
+git push origin release-$LAST_WALLABAG_RELEASE