fix(build): publish typings directory to our npm snapshot branch
This commit is contained in:
parent
3d715a2f7b
commit
19cfb4eb12
|
@ -22,6 +22,7 @@ tmp
|
||||||
*.js.map
|
*.js.map
|
||||||
|
|
||||||
# Or type definitions we mirror from github
|
# Or type definitions we mirror from github
|
||||||
|
# (NB: these lines are removed in publish-build-artifacts.sh)
|
||||||
**/typings/**/*.d.ts
|
**/typings/**/*.d.ts
|
||||||
**/typings/tsd.cached.json
|
**/typings/tsd.cached.json
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ function publishRepo {
|
||||||
# copy over build artifacts into the repo directory
|
# copy over build artifacts into the repo directory
|
||||||
rm -rf $REPO_DIR/*
|
rm -rf $REPO_DIR/*
|
||||||
cp -R $ARTIFACTS_DIR/* $REPO_DIR/
|
cp -R $ARTIFACTS_DIR/* $REPO_DIR/
|
||||||
cp .gitignore $REPO_DIR/
|
grep -v /typings/ .gitignore > $REPO_DIR/.gitignore
|
||||||
echo `date` > $REPO_DIR/BUILD_INFO
|
echo `date` > $REPO_DIR/BUILD_INFO
|
||||||
echo $SHA >> $REPO_DIR/BUILD_INFO
|
echo $SHA >> $REPO_DIR/BUILD_INFO
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue