Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Commit c4ebebf

Browse files
committed
Merge branch 'canary'
2 parents e4120db + d948566 commit c4ebebf

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# angular-vertxbus
22

3-
![Bower version](https://img.shields.io/bower/v/angular-vertxbus.svg) [![npm version](https://img.shields.io/npm/v/angular-vertxbus.svg)](https://www.npmjs.com/package/angular-vertxbus) [![Build Status](https://img.shields.io/travis/knalli/angular-vertxbus.svg)](https://travis-ci.org/knalli/angular-vertxbus) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.svg)](http://gruntjs.com/)
3+
![Bower version](https://img.shields.io/bower/v/angular-vertxbus.svg) [![npm version](https://img.shields.io/npm/v/angular-vertxbus.svg)](https://www.npmjs.com/package/angular-vertxbus) [![cdnjs](https://img.shields.io/cdnjs/v/angular-vertxbus.svg)](https://cdnjs.com/libraries/angular-vertxbus) [![Build Status](https://img.shields.io/travis/knalli/angular-vertxbus.svg)](https://travis-ci.org/knalli/angular-vertxbus) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.svg)](http://gruntjs.com/)
44

55
Client side library using VertX Event Bus as an Angular Service module
66

@@ -30,9 +30,9 @@ Depending on your target clients, you probably need to include a browser polyfil
3030
recommends the [requirement of its own polyfill](https://babeljs.io/docs/usage/polyfill/). Either you use the explained
3131
way using npm modules and/or browserify, or you can use the alternative artifact variant `dist/angular-vertxbus.withpolyfill.js`.
3232

33-
### AngularJS
33+
### AngularJS 1.x
3434

35-
This library is being developed against *AngularJS 1.4*, and additional tests are performed against *AngularJS 1.2* and *AngularJS 1.3*.
35+
This library performs integration tests for *AngularJS 1.2 - 1.6*!
3636

3737
### Vert.x
3838

@@ -188,4 +188,4 @@ The *end-to-end tests* start and utilize a full Vert.x node and a NodeJS based w
188188

189189
## License
190190

191-
Copyright 2016 by Jan Philipp. Licensed under MIT.
191+
Copyright 2017 by Jan Philipp. Licensed under MIT.

build_tools/upload-github-release.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ const mkdirSync = function (path) {
1515
throw e;
1616
}
1717
}
18-
}
18+
};
1919

2020
// Find changelog for a specific version
2121
const getChangelog = (changelogFilePath, forVersion) => {
22-
const prefix = '# ';
22+
const prefix = '<a name="';
23+
const skipLines = 1;
2324
return new Promise((resolve) => {
2425
fs.readFile(changelogFilePath, (err, bytes) => {
2526
if (err) {
@@ -31,8 +32,8 @@ const getChangelog = (changelogFilePath, forVersion) => {
3132
let bodyStartIndex = lines.findIndex((str) => str.substr(0, prefix.length + forVersion.length) === `${prefix}${forVersion}`);
3233
if (bodyStartIndex > -1) {
3334
let bodyEndIndex = lines.findIndex((str, idx) => idx > bodyStartIndex && str.substr(0, prefix.length) === prefix);
34-
let header = lines[bodyStartIndex].substring(prefix.length);
35-
let body = lines.slice(bodyStartIndex + 1, bodyEndIndex).join('\n');
35+
let header = forVersion;
36+
let body = lines.slice(bodyStartIndex + 1 + skipLines, bodyEndIndex).join('\n');
3637
resolve({header, body});
3738
} else {
3839
resolve({header : forVersion, body : ''});
@@ -153,7 +154,7 @@ resetTempResources()
153154
.then(([changelog, assets]) => {
154155
return publish({
155156
ghApiToken : process.env.GH_TOKEN,
156-
projectOwner : 'angular-translate',
157+
projectOwner : 'knalli',
157158
projectRepo : process.env.PROJECT_REPO || pkg.name,
158159
projectVersion : pkg.version,
159160
projectVersionName : `${pkg.name} ${changelog.header || pkg.version}`,

0 commit comments

Comments
 (0)