Skip to content

Commit

Permalink
Add missing outputs to GitHub action.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-codeflow authored and arturcic committed Nov 22, 2020
1 parent 3de8a57 commit 4c753ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
4 changes: 4 additions & 0 deletions gitversion/execute/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -91,5 +93,7 @@ outputs:
description: 'The CommitsSinceVersionSource value'
commitsSinceVersionSourcePadded:
description: 'The CommitsSinceVersionSourcePadded value'
uncommittedChanges:
description: 'The UncommittedChanges value'
commitDate:
description: 'The CommitDate value'
2 changes: 2 additions & 0 deletions src/tools/gitversion/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export interface GitVersionOutput {
FullSemVer: string
InformationalVersion: string
BranchName: string
EscapedBranchName: string
Sha: string
ShortSha: string
NuGetVersionV2: string
Expand All @@ -48,5 +49,6 @@ export interface GitVersionOutput {
VersionSourceSha: string
CommitsSinceVersionSource: number
CommitsSinceVersionSourcePadded: string
UncommittedChanges: number
CommitDate: string
}

0 comments on commit 4c753ec

Please sign in to comment.