From dd3798b9373e2e0274cf4b81c40bdf4cc4630e6a Mon Sep 17 00:00:00 2001 From: donavon <github@donavon.com> Date: Mon, 1 Aug 2016 15:30:46 -0400 Subject: [PATCH] =?UTF-8?q?Add=20a=20=E2=80=94tag=20option=20to=20the=20cl?= =?UTF-8?q?i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/gh-pages | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/gh-pages b/bin/gh-pages index 84206c9..5277cb5 100755 --- a/bin/gh-pages +++ b/bin/gh-pages @@ -19,6 +19,8 @@ program 'The name of the remote', 'origin') .option('-m, --message <message>', 'commit message', 'Updates') + .option('-g, --tag <tag>', + 'add tag to commit') .option('-t, --dotfiles', 'Include dotfiles') .option('-a, --add', 'Only add, and never remove existing files.') .option('-v, --remove <pattern>', @@ -33,6 +35,7 @@ ghpages.publish(path.join(process.cwd(), program.dist), { branch: program.branch, src: program.src, message: program.message, + tag: program.tag, dotfiles: !!program.dotfiles, add: !!program.add, only: program.remove,