mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-07 16:09:24 +00:00
feat: add output for last release version
E.g. helpful to use in CI pipelines where versions are not committed to the repository.
This commit is contained in:
parent
d309c4a687
commit
f8175c6491
3 changed files with 4 additions and 1 deletions
|
|
@ -5,5 +5,6 @@
|
|||
"new_release_minor_version": "new_release_minor_version",
|
||||
"new_release_patch_version": "new_release_patch_version",
|
||||
"new_release_channel": "new_release_channel",
|
||||
"new_release_notes": "new_release_notes"
|
||||
"new_release_notes": "new_release_notes",
|
||||
"last_release_version": "last_release_version"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,4 +40,5 @@ module.exports = async (result) => {
|
|||
core.setOutput(outputs.new_release_patch_version, patch);
|
||||
core.setOutput(outputs.new_release_channel, channel);
|
||||
core.setOutput(outputs.new_release_notes, notes);
|
||||
core.setOutput(outputs.last_release_version, lastRelease.version)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue