diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e0201308..50c9760b45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Add `service:list` and tests [#1358](https://github.com/apollographql/apollo-tooling/pull/1358) and header [#1377](https://github.com/apollographql/apollo-tooling/pull/1377) - Update `service:list` test to use a simulated time to prevent relative dates causing snapshot failures [#1374](https://github.com/apollographql/apollo-tooling/pull/1374) - Update `service:check` to support `--markdown` and `--json` flags for federated schema [#1378](https://github.com/apollographql/apollo-tooling/pull/1378) + - Exit status code 1 after composition errors in service:push [#1403](https://github.com/apollographql/apollo-tooling/pull/1403) - `apollo-codegen-core` - - `apollo-codegen-flow` diff --git a/packages/apollo/src/commands/service/push.ts b/packages/apollo/src/commands/service/push.ts index 42982dcb38..9bad84d6a8 100644 --- a/packages/apollo/src/commands/service/push.ts +++ b/packages/apollo/src/commands/service/push.ts @@ -194,6 +194,8 @@ export default class ServicePush extends ProjectCommand { this.log(printed); this.log("\n"); + + this.exit(1); } if (result.didUpdateGateway) {