Skip to content

Commit

Permalink
chore: fixing a netlify issue by removing a non-available git parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybuidl committed Aug 17, 2023
1 parent a70258f commit d89851f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/scripts/gitInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const main = () => {
let gitCommitHash = execSyncWrapper("git rev-parse HEAD");
let gitCommitShortHash = execSyncWrapper("git rev-parse --short=7 HEAD");
let gitBranch = execSyncWrapper("git rev-parse --abbrev-ref HEAD");
let gitTags = execSyncWrapper("git tag --points-at HEAD --omit-empty | tr '\n' ',' | sed 's/,$//'");
let gitTags = execSyncWrapper("git tag --points-at HEAD | tr '\n' ',' | sed 's/,$//'");
let clean =
execSyncWrapper(`[ -z "$(git status --short | ggrep -v '^??')" ] && echo clean || echo dirty`) === "clean";

Expand Down

0 comments on commit d89851f

Please sign in to comment.