Trim the version

This commit is contained in:
mtkennerly 2020-07-10 22:55:12 -04:00
parent 16ba39f59a
commit 2cb7b40848
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View file

@ -89,7 +89,7 @@ function main() {
else {
runCommand("pip install dunamai==" + install);
}
var version = runCommand(command + " " + args).toString();
var version = runCommand(command + " " + args).toString().trim();
core.setOutput("version", version);
console.log("Dynamic version: " + version);
if (envVar !== "") {