Skip to content

Commit

Permalink
Remove '-a' from git tag invocation (#815)
Browse files Browse the repository at this point in the history
Fixes #814
  • Loading branch information
alethea authored and evocateur committed May 19, 2017
1 parent 20574b0 commit 56568d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GitUtilities.js
Expand Up @@ -57,7 +57,7 @@ export default class GitUtilities {

static addTag(tag, opts) {
log.silly("addTag", tag);
ChildProcessUtilities.execSync("git", ["tag", "-a", tag, "-m", tag], opts);
ChildProcessUtilities.execSync("git", ["tag", tag, "-m", tag], opts);
}

static removeTag(tag, opts) {
Expand Down
2 changes: 1 addition & 1 deletion test/GitUtilities.js
Expand Up @@ -99,7 +99,7 @@ describe("GitUtilities", () => {
const opts = { cwd: "test" };
GitUtilities.addTag("foo", opts);
expect(ChildProcessUtilities.execSync).lastCalledWith(
"git", ["tag", "-a", "foo", "-m", "foo"], opts
"git", ["tag", "foo", "-m", "foo"], opts
);
});
});
Expand Down

0 comments on commit 56568d3

Please sign in to comment.