forked from GitTools/actions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
7,980 additions
and
15,691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
|
||
node_modules/ | ||
/*.js | ||
*.js | ||
|
||
.taskkey | ||
|
||
dist/azure/task/ | ||
!dist/azure/task/icon.png | ||
!dist/azure/task/task.json | ||
|
||
*.vsix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
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. | ||
|
||
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! | ||
|
||
![Build Task](https://raw.githubusercontent.com/GitTools/GitVersion/master/src/GitVersionVsixTask/images/build-task.png) | ||
![Builds](https://raw.githubusercontent.com/GitTools/GitVersion/master/src/GitVersionVsixTask/images/builds.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"id": "dd065e3b-6aef-46af-845c-520195836b35", | ||
"name": "UseGitVersion", | ||
"friendlyName": "GitVersion Task$titleSuffix$", | ||
"description": "Easy Semantic Versioning (http://semver.org) for projects using Git", | ||
"author": "GitVersion Contributors", | ||
"helpMarkDown": "See the [documentation](http://gitversion.readthedocs.org/en/latest/) for help", | ||
"category": "Build", | ||
"demands": [], | ||
"version": { | ||
"Major": "5", | ||
"Minor": "1", | ||
"Patch": "2" | ||
}, | ||
"minimumAgentVersion": "2.115.0", | ||
"groups": [ | ||
{ | ||
"name": "gitversionDetails", | ||
"displayName": "GitVersion details", | ||
"isExpanded": true | ||
}, | ||
{ | ||
"name": "additional", | ||
"displayName": "Additional Options", | ||
"isExpanded": false | ||
} | ||
], | ||
"instanceNameFormat": "GitVersion", | ||
"inputs": [ | ||
{ | ||
"name": "versionSpec", | ||
"type": "string", | ||
"label": "The version spec", | ||
"defaultValue": "", | ||
"required": true, | ||
"helpMarkDown": "Required version in the form of 5.x or exact version like 5.0.0" | ||
}, | ||
{ | ||
"name": "includePrerelease", | ||
"type": "boolean", | ||
"label": "Include pre-release versions", | ||
"defaultValue": "false", | ||
"required": false, | ||
"helpMarkDown": "Include pre-release versions when matching a version" | ||
}, | ||
{ | ||
"name": "targetPath", | ||
"type": "string", | ||
"label": "Working directory path", | ||
"defaultValue": "", | ||
"required": false, | ||
"helpMarkDown": "Optionally supply the path to the working directory", | ||
"groupName": "gitversionDetails" | ||
}, | ||
{ | ||
"name": "useConfigFile", | ||
"type": "boolean", | ||
"label": "Specify Configuration file", | ||
"defaultValue": "false", | ||
"required": false, | ||
"helpMarkDown": "Whether to use a custom configuration file" | ||
}, | ||
{ | ||
"name": "configFilePath", | ||
"type": "filePath", | ||
"label": "Configuration file", | ||
"defaultValue": "", | ||
"required": false, | ||
"helpMarkDown": "Optional path to config file (defaults to GitVersion.yml)", | ||
"visibleRule": "useConfigFile = true" | ||
}, | ||
{ | ||
"name": "updateAssemblyInfo", | ||
"type": "boolean", | ||
"label": "Update AssemblyInfo files", | ||
"defaultValue": "false", | ||
"required": false, | ||
"helpMarkDown": "Whether to update versions in the AssemblyInfo files" | ||
}, | ||
{ | ||
"name": "updateAssemblyInfoFilename", | ||
"type": "string", | ||
"label": "Update Assembly File", | ||
"defaultValue": "", | ||
"required": false, | ||
"helpMarkDown": "Update versions in specified file", | ||
"visibleRule": "updateAssemblyInfo = true" | ||
}, | ||
{ | ||
"name": "additionalArguments", | ||
"type": "string", | ||
"label": "Additional GitVersion arguments", | ||
"defaultValue": "", | ||
"required": false, | ||
"helpMarkDown": "Additional arguments to send to GitVersion", | ||
"groupName": "additional" | ||
} | ||
], | ||
"execution": { | ||
"Node": { | ||
"target": "GitVersion.js", | ||
"argumentFormat": "", | ||
"workingDirectory": "." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"manifestVersion": 1, | ||
"id": "usegitversion$idSuffix$", | ||
"name": "UseGitVersion$titleSuffix$", | ||
"publisher": "gittools", | ||
"public": true, | ||
"author": "GitVersion Contributors", | ||
"version": "$version$", | ||
"description": "Build task for easy semantic versioning for projects using Git.", | ||
"targets": [{ | ||
"id": "Microsoft.VisualStudio.Services" | ||
}], | ||
"files": [ | ||
{ "path": "task" } | ||
], | ||
"categories": [ | ||
"Azure Pipelines" | ||
], | ||
"galleryFlags": [ | ||
"$visibility$" | ||
], | ||
"icons": { | ||
"default": "images/extension-icon.png" | ||
}, | ||
"tags": [ | ||
"semver", | ||
"git", | ||
"versioning", | ||
"gitflow", | ||
"githubflow" | ||
], | ||
"links": { | ||
"learn": { | ||
"uri": "http://gitversion.readthedocs.org/en/stable" | ||
}, | ||
"getstarted": { | ||
"uri": "http://gitversion.readthedocs.org/en/stable/build-server-support/build-server/tfs-build-vnext/#running-inside-tfs" | ||
}, | ||
"license": { | ||
"uri": "https://github.com/GitTools/GitVersion/blob/master/LICENSE" | ||
}, | ||
"repository": { | ||
"uri": "https://github.com/GitTools/GitVersion" | ||
}, | ||
"support": { | ||
"uri": "https://github.com/GitTools/GitVersion/issues" | ||
} | ||
}, | ||
"screenshots": [{ | ||
"path": "images/builds.png" | ||
}, | ||
{ | ||
"path": "images/build-task.png" | ||
} | ||
], | ||
"content": { | ||
"details": { | ||
"path": "overview.md" | ||
} | ||
}, | ||
"contributions": [{ | ||
"id": "gitversion-task", | ||
"type": "ms.vss-distributed-task.task", | ||
"targets": [ | ||
"ms.vss-distributed-task.tasks" | ||
], | ||
"properties": { | ||
"name": "GitVersionTask" | ||
} | ||
}] | ||
} |
Oops, something went wrong.