mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-20 22:31:08 +00:00
Trim the version
This commit is contained in:
parent
16ba39f59a
commit
2cb7b40848
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ function main(): void {
|
|||
runCommand(`pip install dunamai==${install}`);
|
||||
}
|
||||
|
||||
const version = runCommand(`${command} ${args}`).toString();
|
||||
const version = runCommand(`${command} ${args}`).toString().trim();
|
||||
core.setOutput("version", version);
|
||||
console.log(`Dynamic version: ${version}`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue