mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2026-04-04 23:26:55 +00:00
Fix output mapping
This commit is contained in:
parent
d160cb59d5
commit
ea50fff3e4
8 changed files with 26 additions and 11 deletions
|
|
@ -16,7 +16,7 @@ export class VersionResult {
|
|||
* @param authors - Authors formatted according to the format mode (e.g. JSON, CSV, YAML, etc.)
|
||||
* @param currentCommit - The current commit hash
|
||||
* @param previousCommit - The previous commit hash
|
||||
* @param previousVersion - the previous version
|
||||
* @param previousVersion - The previous version
|
||||
*/
|
||||
constructor(
|
||||
public major: number,
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ function setOutput(versionResult: VersionResult) {
|
|||
core.setOutput("changed", changed.toString());
|
||||
core.setOutput("version_tag", versionTag);
|
||||
core.setOutput("authors", authors);
|
||||
core.setOutput("lastVersion", authors);
|
||||
core.setOutput("previous_commit", previousCommit);
|
||||
core.setOutput("previous_version", previousVersion);
|
||||
core.setOutput("current_commit", currentCommit);
|
||||
}
|
||||
|
||||
export async function run() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue