Skip to content

Commit

Permalink
feat(core angular): trigger minor release on Travis
Browse files Browse the repository at this point in the history
trigger minor release on Travis
  • Loading branch information
theiliad committed Aug 30, 2018
1 parent 2995cfa commit 1c476b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .travis/after_success.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set -e

npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN -q

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "We are in a pull request, not releasing"
exit 0
Expand Down Expand Up @@ -41,7 +43,5 @@ if [[ $TRAVIS_BRANCH == 'master' ]]; then
fi

if [[ echo $TRAVIS_BRANCH | grep "^v[0-9]\+\.[0-9]\+\.[0-9]\+\$" ]]; then
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN -q

lerna publish from-git
fi
20 changes: 10 additions & 10 deletions packages/angular/demo/src/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Demo</title>
<base href="/">
<head>
<meta charset="utf-8">
<title>Demo</title>
<base href="/">

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
</html>
1 change: 1 addition & 0 deletions packages/core/custom.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
declare module "*.svg" {
const content: any;

export default content;
}

0 comments on commit 1c476b2

Please sign in to comment.