Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/core/src/countBallotsFromGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ export default async function countFromGit<T extends BufferSource = BufferSource
GIT_BIN,
[
"commit",
"-n",
...getGPGSignGitFlag(gpgSign),
"-m",
`close vote and aggregate results`,
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/generateNewVoteFolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export default async function generateNewVoteFolder(options: Options) {
GIT_BIN,
[
"commit",
"-n",
...(gpgSign === true
? ["-S"]
: typeof gpgSign === "string"
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/voteUsingGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export async function voteAndCommit({
GIT_BIN,
[
"commit",
"-n",
...getGPGSignGitFlag(gpgSign),
`--author`,
author,
Expand Down
2 changes: 1 addition & 1 deletion sh/voteUsingGit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Set-Location "$tmpDir/$path"


git add "$username.json" | Out-Null
git commit -m "vote from $username" | Out-Null
git commit -n -m "vote from $username" | Out-Null

git push "$repoUrl" "HEAD:$branch" | Out-Null

Expand Down
2 changes: 1 addition & 1 deletion sh/voteUsingGit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $EDITOR "$tmpDir/$path/ballot.yml"
# Commit the encrypted JSON vote data.
(cd "$tmpDir" && \
git add "$tmpDir/$path/$username.json" && \
git commit -m "vote from $username")
git commit -n -m "vote from $username")

# Pushing to the remote repository.
(cd "$tmpDir" && \
Expand Down