Skip to content

Commit

Permalink
Updating vsts task lib version to 2.8.0 for GitHub release task (#10389)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmdakbar authored May 17, 2019
1 parent 201bba1 commit 1ce9fb3
Show file tree
Hide file tree
Showing 23 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/ActionTests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import * as sinon from 'sinon';
import { Inputs } from '../operations/Constants';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/ChangeLogTests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/CreateAction2L0Tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/CreateActionL0Tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/DeleteAction2L0Tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/DeleteActionL0Tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/EditAction2L0Tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/EditActionL0Tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/HelperTests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/InvalidActionL0Tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tmrm = require('vsts-task-lib/mock-run');
import tmrm = require('azure-pipelines-task-lib/mock-run');
import * as path from 'path';
import { Inputs } from '../operations/Constants';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/Tests/L0.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as path from 'path';
import * as assert from 'assert';
import * as ttm from 'vsts-task-lib/mock-test';
import * as ttm from 'azure-pipelines-task-lib/mock-test';
import { TestString } from './TestStrings';

describe('GitHubReleaseTaskTests Suite', function() {
Expand Down
6 changes: 3 additions & 3 deletions Tasks/GitHubReleaseV0/ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GitHub Release Task incorporates third party material from the projects listed b
19. underscore.js (http://underscorejs.org/; https://github.com/jashkenas/underscore)
20. uuid (git+https://github.com/kelektiv/node-uuid.git)
21. vso-node-api (https://github.com/Microsoft/vsts-node-api)
22. VSTS-task-lib (https://github.com/Microsoft/vsts-task-lib)
22. azure-pipelines-task-lib (https://github.com/Microsoft/azure-pipelines-task-lib)
23. vsts-task-tool-lib (git+https://github.com/microsoft/vsts-task-installer-lib.git)
24. wrappy (https://github.com/npm/wrappy)
25. @types/node (https://www.github.com/DefinitelyTyped/DefinitelyTyped.git)
Expand Down Expand Up @@ -543,7 +543,7 @@ NO LICENSE FOUND
=========================================
END OF vso-node-api NOTICES, INFORMATION, AND LICENSE

%% vsts-task-lib NOTICES, INFORMATION, AND LICENSE BEGIN HERE
%% azure-pipelines-task-lib NOTICES, INFORMATION, AND LICENSE BEGIN HERE
=========================================
The MIT License (MIT)

Expand All @@ -567,7 +567,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
=========================================
END OF vsts-task-lib NOTICES, INFORMATION, AND LICENSE
END OF azure-pipelines-task-lib NOTICES, INFORMATION, AND LICENSE

%% vsts-task-tool-lib NOTICES, INFORMATION, AND LICENSE BEGIN HERE
=========================================
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tl = require("vsts-task-lib/task");
import tl = require("azure-pipelines-task-lib/task");
import path = require("path");
import { Action } from "./operations/Action";
import { Utility, ActionType, Delimiters, TagSelectionMode} from "./operations/Utility";
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/operations/Action.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tl = require("vsts-task-lib/task");
import tl = require("azure-pipelines-task-lib/task");
import path = require("path");
import fs = require('fs');
import { WebResponse } from "./webClient";
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/operations/ChangeLog.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tl = require("vsts-task-lib/task");
import tl = require("azure-pipelines-task-lib/task");
import util = require("util");
import {Utility, GitHubAttributes, IRepositoryIssueId, Delimiters, AzureDevOpsVariables} from "./Utility";
import { Release } from "./Release";
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/operations/Helper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tl = require("vsts-task-lib/task");
import tl = require("azure-pipelines-task-lib/task");
import * as telemetry from "utility-common/telemetry";
import { Utility, GitHubAttributes, AzureDevOpsVariables, ActionType} from "./Utility";
import { Inputs } from "./Constants";
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/operations/Release.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tl = require("vsts-task-lib/task");
import tl = require("azure-pipelines-task-lib/task");
import util = require("util");
import path = require("path");
import fs = require('fs');
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/operations/Utility.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tl = require("vsts-task-lib/task");
import tl = require("azure-pipelines-task-lib/task");
import path = require("path");
import glob = require('glob');
import fs = require('fs');
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/operations/webClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tl = require('vsts-task-lib/task');
import tl = require('azure-pipelines-task-lib/task');
import httpClient = require("typed-rest-client/HttpClient");
import httpInterfaces = require("typed-rest-client/Interfaces");
import util = require("util");
Expand Down
34 changes: 17 additions & 17 deletions Tasks/GitHubReleaseV0/package-lock.json

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

4 changes: 2 additions & 2 deletions Tasks/GitHubReleaseV0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"dependencies": {
"@types/node": "6.0.101",
"@types/q": "1.5.0",
"azure-pipelines-task-lib": "2.8.0",
"brace-expansion": "1.1.8",
"browserify-mime": "1.2.9",
"glob": "7.1.2",
"q": "1.4.1",
"semver": "5.4.1",
"utility-common": "file:../../_build/Tasks/Common/utility-common-1.0.2.tgz",
"vso-node-api": "6.0.1-preview",
"vsts-task-lib": "2.3.0"
"vso-node-api": "6.0.1-preview"
}
}
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 0,
"Minor": 151,
"Patch": 2
"Patch": 3
},
"demands": [],
"minimumAgentVersion": "2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GitHubReleaseV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 0,
"Minor": 151,
"Patch": 2
"Patch": 3
},
"demands": [],
"minimumAgentVersion": "2.0.0",
Expand Down

0 comments on commit 1ce9fb3

Please sign in to comment.