mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: bump version alpha.5 and update changelog (#529)
This commit is contained in:
@@ -21,15 +21,8 @@ npm run inline-resources
|
||||
# deploy/ serves as a working directory to stage the release.
|
||||
mkdir deploy
|
||||
|
||||
# Copy all components/ to deploy/ and replace `../../core` with `@angular2-material/core`
|
||||
# that each component depends on the core *package*.
|
||||
# Use a `.bak` extension for sed backup because `sed` on OSX will not work without a backup
|
||||
# extension. Delete the backups immediately after.
|
||||
# Copy all components/ to deploy/
|
||||
cp -R ./dist/components/* ./deploy/
|
||||
find ./deploy -type f \( -name "*.js" -o -name "*.ts" \) -exec sed -i.bak 's|\.\./\.\./core|@angular2-material/core|g' {} \;
|
||||
|
||||
|
||||
find ./deploy -type f -name "*.bak" | xargs rm
|
||||
|
||||
# Copy the core/ directory directly into ./deploy
|
||||
cp -R ./dist/core/ ./deploy/core/
|
||||
|
||||
Reference in New Issue
Block a user