Skip to content

Commit 16ca9d4

Browse files
authored
Release v1.27.0 (#1016)
1 parent fd379e3 commit 16ca9d4

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
### vNEXT
44

5+
### v1.27.0
6+
57
- **core** **cli**: introduce `keepClientFields` flag in `validate` [PR #783](https://github.com/kamilkisiela/graphql-inspector/pull/783)
68
- **core**: `UNION_MEMBER_ADDED` is no longer a breaking change but dangerous
79

Dockerfile-cli

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM node:10-slim
22

3-
LABEL version="1.26.0"
3+
LABEL version="1.27.0"
44
LABEL repository="http://github.com/kamilkisiela/graphql-inspector"
55
LABEL homepage="http://github.com/kamilkisiela/graphql-inspector"
66
LABEL maintainer="Kamil Kisiela <[email protected]>"
77

88
ENV LOG_LEVEL "debug"
99

10-
RUN yarn global add @graphql-inspector/cli@1.26.0 graphql
10+
RUN yarn global add @graphql-inspector/cli@1.27.0 graphql
1111

1212
RUN mkdir /app
1313
WORKDIR /app

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"npmClient": "yarn",
33
"useWorkspaces": true,
4-
"version": "1.26.0"
4+
"version": "1.27.0"
55
}

scripts/release.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const detectIndent = require('detect-indent');
88
const immer = require('immer').default;
99

1010
const placeholder = '0.0.0-PLACEHOLDER';
11-
const [, , versionOrCanary] = process.argv;
11+
const [, , versionOrCanary, code] = process.argv;
1212
const rootDir = resolve(__dirname, '../');
1313
const rootPackage = join(rootDir, 'package.json');
1414
const lerna = join(rootDir, 'lerna.json');
@@ -51,11 +51,6 @@ packages.map(dir => {
5151
);
5252
});
5353

54-
// Set version in Dockerfile (both LABEL and RUN)
55-
updateString(join(rootDir, 'Dockerfile'), docker =>
56-
docker.replace(new RegExp(current, 'g'), version),
57-
);
58-
5954
// Set version in Dockerfile (both LABEL and RUN)
6055
updateString(join(rootDir, 'Dockerfile-cli'), docker =>
6156
docker.replace(new RegExp(current, 'g'), version),
@@ -72,7 +67,7 @@ const cmd = `npm publish${isCanary ? ' --tag canary' : ''}`;
7267

7368
// Run npm publish in all libraries
7469
packages.map(dir => {
75-
exec(`(cd ${dir} && ${cmd} --access public)`);
70+
exec(`(cd ${dir} && ${cmd} --access public --otp=${code})`);
7671
});
7772

7873
if (!isCanary) {

0 commit comments

Comments
 (0)