Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
[Prerelease] Bumped version number
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodek committed Nov 22, 2016
1 parent bc2f404 commit 8ac2658
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.0.72"></a>
## [1.0.72](https://github.com/advanced-rest-client/socket-fetch/compare/1.0.69...v1.0.72) (2016-11-22)


### Update

* Removed reference to the URI library and replaced it with native URL ([871fec0a7b4fba331f3184ad4954af213730c11a](https://github.com/advanced-rest-client/socket-fetch/commit/871fec0a7b4fba331f3184ad4954af213730c11a))



<a name="1.0.71"></a>
## [1.0.71](https://github.com/advanced-rest-client/socket-fetch/compare/1.0.69...v1.0.71) (2016-11-21)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket-fetch",
"version": "1.0.71",
"version": "1.0.72",
"license": "LICENSE.txt",
"description": "A HTTP transport based on chrome.socket.tcp API.",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket-fetch",
"version": "1.0.71",
"version": "1.0.72",
"license": "LICENSE",
"description": "A HTTP transport based on chrome.socket.tcp API.",
"repository": {
Expand Down
42 changes: 42 additions & 0 deletions tasks/ci.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/usr/bin/env node

'use strict';

process.title = 'arc-ci';

const http = require('http');
const options = {
port: 5243,
hostname: '104.199.30.184',
method: 'POST',
path: '/travis-build',
headers: {
'x-travis-ci-event': 'build-stage',
'content-type': 'application/json'
}
};

const payload = {
'branch': process.env.TRAVIS_BRANCH || 'stage',
'buildNumber': process.env.TRAVIS_BUILD_NUMBER || 'dev',
'commit': process.env.TRAVIS_COMMIT || 'test',
'jobNumber': process.env.TRAVIS_JOB_NUMBER || 'dev',
'pullRequest': process.env.TRAVIS_PULL_REQUEST || false,
'pullRequestSha': process.env.TRAVIS_PULL_REQUEST_SHA || 'none',
'slug': process.env.TRAVIS_REPO_SLUG || 'unknown'
};

var req = http.request(options, (res) => {
res.on('end', () => {
process.exit();
});
});
req.on('end', () => {
process.exit();
});
req.on('error', (e) => {
console.log(`problem with request: ${e.message}`);
process.exit(1);
});
req.write(JSON.stringify(payload));
req.end();

0 comments on commit 8ac2658

Please sign in to comment.