diff --git a/action.yml b/action.yml index 6922155..d046aa7 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ name: use-actions -description: GitHub Action for Easy Semantic Versioning with GitVersion. Installs the specific version of GitVersion.Tool +description: GitHub Action for Easy Semantic Versioning with GitVersion. Contains actions to install a specific version of GitVersion and run it. author: GitTools branding: color: gray-dark @@ -12,7 +12,7 @@ inputs: includePrerelease: description: Include pre-release versions when matching a version required: false - default: false + default: 'false' runs: using: node12 main: dist/github/setup/index.js diff --git a/gitversion/execute/action.yml b/gitversion/execute/action.yml index 45b52b5..8166432 100644 --- a/gitversion/execute/action.yml +++ b/gitversion/execute/action.yml @@ -73,6 +73,8 @@ outputs: description: 'The InformationalVersion value' branchName: description: 'The BranchName value' + escapedBranchName: + description: 'The EscapedBranchName value' sha: description: 'The Sha value' shortSha: @@ -91,5 +93,7 @@ outputs: description: 'The CommitsSinceVersionSource value' commitsSinceVersionSourcePadded: description: 'The CommitsSinceVersionSourcePadded value' + uncommittedChanges: + description: 'The UncommittedChanges value' commitDate: description: 'The CommitDate value' \ No newline at end of file diff --git a/src/tools/gitversion/models.ts b/src/tools/gitversion/models.ts index 93b3923..1dd1bbc 100644 --- a/src/tools/gitversion/models.ts +++ b/src/tools/gitversion/models.ts @@ -39,6 +39,7 @@ export interface GitVersionOutput { FullSemVer: string InformationalVersion: string BranchName: string + EscapedBranchName: string Sha: string ShortSha: string NuGetVersionV2: string @@ -48,5 +49,6 @@ export interface GitVersionOutput { VersionSourceSha: string CommitsSinceVersionSource: number CommitsSinceVersionSourcePadded: string + UncommittedChanges: number CommitDate: string }