Skip to content

Commit

Permalink
fix(readme): updates readme with semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
invincibleJai committed Oct 1, 2018
1 parent 7d0076c commit 30ee13a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export RECOMMENDER_API_TOKEN=the-token
```

== Release

Semantic release are done via fabric8cd using `semantic-release`.
- merging each PR will result with an automatic build of master
- and a release apatch, minor or major version. You should use correct link:https://github.com/semantic-release/semantic-release#commit-message-format[commit message].

## License

Apache-2.0
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ files.on(EventStream.Diagnostics, "^package\\.json$", (uri, name, contents) => {
let aggregator = new Aggregator(deps, () => {
connection.sendDiagnostics({uri: uri, diagnostics: diagnostics});
});
const regexVersion = new RegExp(/^(\d+\.)?(\d+\.)?(\d+)$/);
for (let dependency of deps) {
var regexVersion = new RegExp(/^(\d+\.)?(\d+\.)?(\d+)$/);
if(dependency.name.value && dependency.version.value && regexVersion.test(dependency.version.value)) {
get_metadata('npm', dependency.name.value, dependency.version.value, (response) => {
if (response != null) {
Expand Down

0 comments on commit 30ee13a

Please sign in to comment.