Skip to content

Commit e264c19

Browse files
authored
Merge branch 'main' into make-auth-config-schema-more-intuitive
2 parents 15bc55d + f23f801 commit e264c19

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@finos/git-proxy",
3-
"version": "2.0.0-rc.2",
3+
"version": "2.0.0-rc.3",
44
"description": "Deploy custom push protections and policies on top of Git.",
55
"scripts": {
66
"cli": "node ./packages/git-proxy-cli/index.js",

packages/git-proxy-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@finos/git-proxy-cli",
3-
"version": "0.1.0",
3+
"version": "2.0.0-rc.3",
44
"description": "Command line interface tool for FINOS GitProxy.",
55
"bin": "./index.js",
66
"dependencies": {

packages/git-proxy-cli/test/testCli.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ describe('test git-proxy-cli', function () {
7070
it(`"--version" option prints version details `, async function () {
7171
const cli = `npx -- @finos/git-proxy-cli --version`;
7272
const expectedExitCode = 0;
73-
const expectedMessages = ['0.1.0'];
73+
const packageJson = require('../../../package.json');
74+
const version = packageJson.version;
75+
const expectedMessages = [version];
7476
const expectedErrorMessages = null;
7577
await helper.runCli(cli, expectedExitCode, expectedMessages, expectedErrorMessages);
7678
});

0 commit comments

Comments
 (0)