Workflow
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#/bin/bash
|
||||
echo "Using directory: $(pwd)"
|
||||
current_dir=$(pwd)
|
||||
# Run npm with a timeout using perl (cross-platform alternative to 'timeout')
|
||||
perl -e 'alarm shift; $SIG{ALRM}=sub{kill INT => -$$}; exec @ARGV' 10 npm run start
|
||||
|
||||
echo "Build complete. Packing service packs..."
|
||||
|
||||
APP_VERSION=$(grep -o 'APP_VERSION *= *"[^"]*' "$current_dir/app/version.ts" | sed 's/APP_VERSION *= *"//')
|
||||
|
||||
Reference in New Issue
Block a user