Skip to content

Commit fdaccb9

Browse files
committed
Merge pull request #776 from pascalberger/ExtensionImprov
Fix build & improve VSTS extension
2 parents 673add5 + c72698a commit fdaccb9

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ build_script:
2727

2828
- cmd: 7z a "GitVersionTfsBuildTask_%GitVersion_NuGetVersion%.zip" -r .\build\GitVersionTfsTaskBuild\GitVersionTask\*.*
2929
- cmd: appveyor PushArtifact "GitVersionTfsBuildTask_%GitVersion_NuGetVersion%.zip"
30-
- cmd: appveyor PushArtifact "jakeginnivan.gitversion-%GitVersion_MajorMinorPatch%.vsix"
30+
- cmd: appveyor PushArtifact "build\GitVersionTfsTaskBuild\jakeginnivan.gitversion-%GitVersion_SemVer%.vsix"
3131

3232
test_script:
3333
- nunit-console "src\GitVersionTask.Tests\bin\%CONFIGURATION%\GitVersionTask.Tests.dll" "src\GitVersionExe.Tests\bin\%CONFIGURATION%\GitVersionExe.Tests.dll" "src\GitVersionCore.Tests\bin\%CONFIGURATION%\GitVersionCore.Tests.dll" /noshadow

src/GitVersion.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TfsTask", "TfsTask", "{A0ED
3232
GitVersionTfsTask\Create-Vsix.ps1 = GitVersionTfsTask\Create-Vsix.ps1
3333
GitVersionTfsTask\GitVersion.ps1 = GitVersionTfsTask\GitVersion.ps1
3434
GitVersionTfsTask\icon.png = GitVersionTfsTask\icon.png
35+
GitVersionTfsTask\extension-icon.png = GitVersionTfsTask\extension-icon.png
3536
GitVersionTfsTask\manifest.json = GitVersionTfsTask\manifest.json
3637
GitVersionTfsTask\overview.md = GitVersionTfsTask\overview.md
3738
GitVersionTfsTask\task.json = GitVersionTfsTask\task.json

src/GitVersionExe/GitVersionExe.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
<!-- TfsBuildTask -->
162162
<Copy SourceFiles="@(amd64)" DestinationFolder="$(BuildDir)GitVersionTfsTaskBuild\GitVersionTask\NativeBinaries\amd64" />
163163
<Copy SourceFiles="@(x86)" DestinationFolder="$(BuildDir)GitVersionTfsTaskBuild\GitVersionTask\NativeBinaries\x86" />
164-
<Copy SourceFiles="$(SolutionDir)GitVersionTfsTask\icon.png" DestinationFolder="$(BuildDir)GitVersionTfsTaskBuild" />
164+
<Copy SourceFiles="$(SolutionDir)GitVersionTfsTask\extension-icon.png" DestinationFolder="$(BuildDir)GitVersionTfsTaskBuild" />
165165
<Copy SourceFiles="$(SolutionDir)GitVersionTfsTask\manifest.json" DestinationFolder="$(BuildDir)GitVersionTfsTaskBuild" />
166166
<Copy SourceFiles="$(SolutionDir)GitVersionTfsTask\overview.md" DestinationFolder="$(BuildDir)GitVersionTfsTaskBuild" />
167167
<Copy SourceFiles="$(SolutionDir)GitVersionTfsTask\builds.png" DestinationFolder="$(BuildDir)GitVersionTfsTaskBuild\img" />
4.62 KB
Loading

src/GitVersionTfsTask/manifest.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2+
"manifestVersion": 1,
23
"id": "gitversion",
34
"name": "GitVersion",
45
"publisher": "jakeginnivan",
56
"author": "GitVersion Contributors",
67
"version": "$version$",
7-
"description": "Easy Semantic Versioning (http://semver.org) for projects using Git, includes GitVersion Build Task",
8+
"description": "Build task for easy semantic versioning for projects using Git.",
89
"targets": [
910
{
1011
"id": "Microsoft.VisualStudio.Services"
@@ -19,24 +20,28 @@
1920
"Build and release"
2021
],
2122
"icons": {
22-
"default": "icon.png"
23+
"default": "extension-icon.png"
2324
},
2425
"tags": [
2526
"semver",
27+
"git",
2628
"versioning",
2729
"gitflow",
2830
"githubflow"
2931
],
3032
"links": {
31-
"documentation": {
32-
"uri": "http://gitversion.readthedocs.org/en/latest"
33+
"learn": {
34+
"uri": "http://gitversion.readthedocs.org/en/stable"
3335
},
3436
"getstarted": {
35-
"uri": "http://gitversion.readthedocs.org/en/latest/build-server-support/build-server/tfs-build-vnext/#running-inside-tfs"
37+
"uri": "http://gitversion.readthedocs.org/en/stable/build-server-support/build-server/tfs-build-vnext/#running-inside-tfs"
3638
},
37-
"repository": {
38-
"uri": "https://github.com/GitTools/GitVersion"
39-
}
39+
"license": {
40+
"uri": "https://github.com/GitTools/GitVersion/blob/master/LICENSE"
41+
},
42+
"support": {
43+
"uri": "https://github.com/GitTools/GitVersion/issues"
44+
}
4045
},
4146
"screenshots": [
4247
{
@@ -51,10 +56,6 @@
5156
"path": "overview.md"
5257
}
5358
},
54-
"scopes": [
55-
"vso.build",
56-
"vso.build_execute"
57-
],
5859
"contributions": [
5960
{
6061
"id": "gitversion-task",

src/GitVersionTfsTask/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Versioning when using git, solved. GitVersion looks at your git history and works out the semantic version (semver.org) of the commit being built.
1+
Versioning when using Git, solved. GitVersion looks at your Git history and works out the [semantic version](http://semver.org) of the commit being built.
22

33
It works with most branching strategies but has been designed mainly around GitFlow and GitHubFlow (pull request workflow). The calculated version numbers can then be accessed through variables such as `$(GitVersion_NuGetVersion)` and `$(GitVersion_SemVer)`. It is also very configurable to allow it to work with most release workflows!
44

0 commit comments

Comments
 (0)