diff --git a/README.md b/README.md index fa03121..5e2063a 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,32 @@ Currently, there is only one task: * [_RunOpenCover_](Tasks/RunOpenCover/README.md). +## Status + +| | Build & Test | +|---|:-----:| +|![Win](docs/images/win_med.png) **Windows**|[![Build status](https://ci.appveyor.com/api/projects/status/ddr94r6onjfjro23?svg=true)](https://ci.appveyor.com/project/cklutz/my-vsts-tasks)| + ## Build +### Fast pass + +To build and test everything, simply use: + + build-full.cmd + +You will find packaged tasks in `_packages\tasks.zip`, from where you can [deploy/upload](#deploy-from-a-package) them. + +### Manual steps + Once, install dependencies: npm install +To increment all task's patch level - required to allow upload of a new version to VSTS/TFS: + + node make.js bump + Build and test: npm run build @@ -42,7 +62,20 @@ fails). ### Deployment - tfx build tasks upload --task-path .\_build\Tasks\RunOpenCoverTask +#### Deploy a local build + +To deploy the result of a local build (e.g. from cloning this repo): + + tfx build tasks upload --task.path .\_build\Tasks\RunOpenCoverTask Make sure to update at least the patch version in your `task.json` everytime you -redeploy a new version. +redeploy a new version (e.g. via `node make.js bump`). + +#### Deploy from a package + +To deploy the result of a release's `tasks.zip`: + + 7za x -o %TEMP%\tasks tasks.zip + tfx build tasks upload --task.path %TEMP%\tasks\RunOpenCoverTask + + diff --git a/Tasks/RunOpenCover/Strings/resources.resjson/en-US/resources.resjson b/Tasks/RunOpenCover/Strings/resources.resjson/en-US/resources.resjson index 6bf10c0..c807bd8 100644 --- a/Tasks/RunOpenCover/Strings/resources.resjson/en-US/resources.resjson +++ b/Tasks/RunOpenCover/Strings/resources.resjson/en-US/resources.resjson @@ -1,6 +1,6 @@ { "loc.friendlyName": "Run OpenCover", - "loc.helpMarkDown": "[More information](https://github.com/cklutz/my-vsts-tasks/Tasks/RunOpenCover/README.md)", + "loc.helpMarkDown": "[More information](https://github.com/cklutz/my-vsts-tasks/blob/master/Tasks/RunOpenCover/README.md)", "loc.description": "Runs VSTest under OpenCover", "loc.instanceNameFormat": "Tests/Coverage - $(testAssembly)", "loc.group.displayName.executionOptions": "Execution Options", diff --git a/Tasks/RunOpenCover/task.json b/Tasks/RunOpenCover/task.json index c2c2379..80e9ed5 100644 --- a/Tasks/RunOpenCover/task.json +++ b/Tasks/RunOpenCover/task.json @@ -19,7 +19,7 @@ "version": { "Major": 1, "Minor": 0, - "Patch": 10 + "Patch": 11 }, "minimumAgentVersion": "1.95.0", "instanceNameFormat": "Tests/Coverage - $(testAssembly)", diff --git a/Tasks/RunOpenCover/task.loc.json b/Tasks/RunOpenCover/task.loc.json index 8d55ad1..9d3851d 100644 --- a/Tasks/RunOpenCover/task.loc.json +++ b/Tasks/RunOpenCover/task.loc.json @@ -19,7 +19,7 @@ "version": { "Major": 1, "Minor": 0, - "Patch": 10 + "Patch": 11 }, "minimumAgentVersion": "1.95.0", "instanceNameFormat": "ms-resource:loc.instanceNameFormat", diff --git a/docs/images/win_med.png b/docs/images/win_med.png new file mode 100644 index 0000000..18d560f Binary files /dev/null and b/docs/images/win_med.png differ