Commit 65ecdd20 authored by Jonathan Foucher's avatar Jonathan Foucher
Browse files

fail script if a step fails.

parent ed42dbe5
Pipeline #31938 failed with stages
in 20 minutes and 15 seconds
......@@ -12,11 +12,11 @@ git stash
git pull
## Composer
php8.1 /usr/bin/composer install --prefer-dist --no-interaction --optimize-autoloader
php8.1 $(which composer) install --prefer-dist --no-interaction --optimize-autoloader || exit 1
## CSS & JS
npm install
npm run production
npm install || exit 1
npm run production || exit 1
# Get correct version info from git tag and replace into template
VERSION=$(git describe --tags)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment