Skip to content

Commit

Permalink
yarn prettier-all
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Dec 28, 2021
1 parent bf55e0a commit b799cfd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion scripts/release/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ const getBuildInfo = async () => {
const branch = await execRead('git branch | grep \\* | cut -d " " -f2', {
cwd,
});
const commit = await execRead('git show -s --no-show-signature --format=%h', {cwd});
const commit = await execRead('git show -s --no-show-signature --format=%h', {
cwd,
});
const checksum = await getChecksumForCurrentRevision(cwd);
const dateString = await getDateStringForCommit(commit);
const version = isExperimental
Expand Down
10 changes: 8 additions & 2 deletions scripts/rollup/build-all-release-channels.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ const sha = String(
).trim();

let dateString = String(
spawnSync('git', ['show', '-s', '--no-show-signature', '--format=%cd', '--date=format:%Y%m%d', sha])
.stdout
spawnSync('git', [
'show',
'-s',
'--no-show-signature',
'--format=%cd',
'--date=format:%Y%m%d',
sha,
]).stdout
).trim();

// On CI environment, this string is wrapped with quotes '...'s
Expand Down

0 comments on commit b799cfd

Please sign in to comment.