Skip to content

Commit

Permalink
fix: Trim git-describe output
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Mar 27, 2024
1 parent 6ae1c50 commit 6cbac86
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/build-crates-standalone-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -128462,7 +128462,7 @@ function cloneFromGitHub(repo, options) {
command_sh(command.join(" "));
}
function describe(path = process.cwd()) {
return command_sh("git describe", { cwd: path });
return command_sh("git describe", { cwd: path }).trim();
}

;// CONCATENATED MODULE: ./src/build-crates-standalone.ts
Expand Down
2 changes: 1 addition & 1 deletion dist/publish-crates-eclipse-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -128482,7 +128482,7 @@ function cloneFromGitHub(repo, options) {
sh(command.join(" "));
}
function describe(path = process.cwd()) {
return sh("git describe", { cwd: path });
return sh("git describe", { cwd: path }).trim();
}

;// CONCATENATED MODULE: ./src/build-crates-standalone.ts
Expand Down
2 changes: 1 addition & 1 deletion dist/publish-crates-github-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -128539,7 +128539,7 @@ function cloneFromGitHub(repo, options) {
sh(command.join(" "));
}
function describe(path = process.cwd()) {
return sh("git describe", { cwd: path });
return sh("git describe", { cwd: path }).trim();
}

;// CONCATENATED MODULE: ./src/build-crates-standalone.ts
Expand Down
2 changes: 1 addition & 1 deletion dist/publish-crates-homebrew-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -128484,7 +128484,7 @@ function cloneFromGitHub(repo, options) {
sh(command.join(" "));
}
function describe(path = process.cwd()) {
return sh("git describe", { cwd: path });
return sh("git describe", { cwd: path }).trim();
}

;// CONCATENATED MODULE: ./src/build-crates-standalone.ts
Expand Down
2 changes: 1 addition & 1 deletion src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export function cloneFromGitHub(repo: string, options: CloneFromGitHubOptions) {
}

export function describe(path: string = process.cwd()): string {
return sh("git describe", { cwd: path });
return sh("git describe", { cwd: path }).trim();
}

0 comments on commit 6cbac86

Please sign in to comment.