mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: create build artifacts for each commit (#2082)
* chore: create build artifacts for each commit * Switch to new npm package * Update version to latest * Publish the builds after all modes succeeded. * Address comments * Change snake_case to camelCase
This commit is contained in:
committed by
mmalerba
parent
714c2a48df
commit
58d2aa3f9c
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script which always runs when the current Travis mode succeeds.
|
||||
# Used to run the travis-after-modes script, which checks if all other modes finished.
|
||||
|
||||
# Go to the project root directory
|
||||
cd $(dirname $0)/../..
|
||||
|
||||
npmBin=$(npm bin)
|
||||
ciResult=$($npmBin/travis-after-modes)
|
||||
|
||||
if [ "$ciResult" = "PASSED" ] && [ -z "$TRAVIS_PULL_REQUEST" ]; then
|
||||
echo "All travis modes passed. Publishing the build artifacts..."
|
||||
./scripts/release/publish-build-artifacts.sh
|
||||
fi
|
||||
Reference in New Issue
Block a user