Skip to content

Commit

Permalink
fix: update errors in circleci workflow and repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
aarlaud committed Jun 15, 2021
1 parent bbbae27 commit b763427
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 33 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- checkout
- run: npm install semantic-release @semantic-release/exec pkg --save-dev --legacy-peer-deps
- run: npm install
- run: npm run build
- run: npm test
- snyk/scan:
fail-on-issues: true
Expand All @@ -20,7 +20,7 @@ jobs:
- image: circleci/node:latest
steps:
- checkout
- run: npm install
- run: npm run build
- run: npm test
- snyk/scan:
fail-on-issues: true
Expand All @@ -32,7 +32,7 @@ jobs:
- image: circleci/node:latest
steps:
- checkout
- run: npm install
- run: npm run build
- run: npm test
- run: npx tsc

Expand All @@ -45,7 +45,7 @@ workflows:
filters:
branches:
only:
- master
- main
jobs:
- build-test-monitor:
context: SNYK
Expand All @@ -57,7 +57,7 @@ workflows:
filters:
branches:
only:
- master
- main

build-test:
jobs:
Expand All @@ -66,7 +66,7 @@ workflows:
filters:
branches:
ignore:
- master
- main
- /pull\/[0-9]+/
- build-test-from-fork:
filters:
Expand Down
38 changes: 19 additions & 19 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"//": "shasum all binaries",
"path": "@semantic-release/exec",
"cmd": "shasum -a 256 snyk-delta-linux > snyk-delta-linux.sha256 && shasum -a 256 snyk-delta-macos > snyk-delta-macos.sha256 && shasum -a 256 snyk-delta-win.exe > snyk-delta-win.exe.sha256"
"cmd": "shasum -a 256 snyk-scm-contributors-count-linux > snyk-scm-contributors-count-linux.sha256 && shasum -a 256 snyk-scm-contributors-count-macos > snyk-scm-contributors-count-macos.sha256 && shasum -a 256 snyk-scm-contributors-count-win.exe > snyk-scm-contributors-count-win.exe.sha256"
},
{
"//": "removes the file we use to identify a build as a standalone binary",
Expand All @@ -28,34 +28,34 @@
"path": "@semantic-release/github",
"assets": [
{
"path": "./snyk-delta-linux",
"name": "snyk-delta-linux",
"label": "snyk-delta-linux"
"path": "./snyk-scm-contributors-count-linux",
"name": "snyk-scm-contributors-count-linux",
"label": "snyk-scm-contributors-count-linux"
},
{
"path": "./snyk-delta-linux.sha256",
"name": "snyk-delta-linux.sha256",
"label": "snyk-delta-linux.sha256"
"path": "./snyk-scm-contributors-count-linux.sha256",
"name": "snyk-scm-contributors-count-linux.sha256",
"label": "snyk-scm-contributors-count-linux.sha256"
},
{
"path": "./snyk-delta-macos",
"name": "snyk-delta-macos",
"label": "snyk-delta-macos"
"path": "./snyk-scm-contributors-count-macos",
"name": "snyk-scm-contributors-count-macos",
"label": "snyk-scm-contributors-count-macos"
},
{
"path": "./snyk-delta-macos.sha256",
"name": "snyk-delta-macos.sha256",
"label": "snyk-delta-macos.sha256"
"path": "./snyk-scm-contributors-count-macos.sha256",
"name": "snyk-scm-contributors-count-macos.sha256",
"label": "snyk-scm-contributors-count-macos.sha256"
},
{
"path": "./snyk-delta-win.exe",
"name": "snyk-delta-win.exe",
"label": "snyk-delta-win.exe"
"path": "./snyk-scm-contributors-count-win.exe",
"name": "snyk-scm-contributors-count-win.exe",
"label": "snyk-scm-contributors-count-win.exe"
},
{
"path": "./snyk-delta-win.exe.sha256",
"name": "snyk-delta-win.exe.sha256",
"label": "snyk-delta-win.exe.sha256"
"path": "./snyk-scm-contributors-count-win.exe.sha256",
"name": "snyk-scm-contributors-count-win.exe.sha256",
"label": "snyk-scm-contributors-count-win.exe.sha256"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ I want to know the countributors count for Snyk monitored projects in bitbucket

## Installation
```
npm i snyk-scm-contributor-count
npm i snyk-scm-contributors-count
```
or use corresponding binaries in the [release page](https://github.com/snyk-tech-services/snyk-scm-contributors-count/releases)


## Usage
```
export SNYK_TOKEN=<YOUR-SNYK-TOKEN>
snyk-scm-contributor-count <command> <command-options>
snyk-scm-contributors-count <command> <command-options>
```

##### Example:
```
snyk-scm-contributor-count bitbucket-server --token BITBUCKET-TOKEN --url http://bitbucket-server.mycompany.com --projectKeys Key1,Key2 --exclusionFilePath=./snyk.exclude
snyk-scm-contributors-count bitbucket-server --token BITBUCKET-TOKEN --url http://bitbucket-server.mycompany.com --projectKeys Key1,Key2 --exclusionFilePath=./snyk.exclude
```

## Common options across commands
Expand All @@ -38,7 +38,7 @@ Additional options might be available depending on the command
### Run in DEBUG MODE
Use DEBUG=snyk* env var before your command, for example:
```
DEBUG=snyk* snyk-scm-contributor-count bitbucket-server --token BITBUCKET-TOKEN --url http://bitbucket-server.mycompany.com --projectKeys Key1,Key2 --exclusionFilePath=./snyk.exclude
DEBUG=snyk* snyk-scm-contributors-count bitbucket-server --token BITBUCKET-TOKEN --url http://bitbucket-server.mycompany.com --projectKeys Key1,Key2 --exclusionFilePath=./snyk.exclude
```


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "snyk-scm-contributor-count",
"name": "snyk-scm-contributors-count",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"bin": {
"snyk-scm-contributor-count": "dist/index.js"
"snyk-scm-contributors-count": "dist/index.js"
},
"dependencies": {
"azure-devops-node-api": "^10.2.2",
Expand Down Expand Up @@ -50,7 +50,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/snyk-tech-services/snyk-scm-contributor-count.git"
"url": "https://github.com/snyk-tech-services/snyk-scm-contributors-count.git"
},
"author": "Snyk Tech Services",
"license": "Apache-2.0",
Expand Down

0 comments on commit b763427

Please sign in to comment.