Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags can be blank which results in no tag being deployed. #1065

Closed
kylebrowning opened this issue Feb 9, 2017 · 0 comments
Closed

Tags can be blank which results in no tag being deployed. #1065

kylebrowning opened this issue Feb 9, 2017 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@kylebrowning
Copy link
Contributor

My system information:

  • Operating system type: macOS
  • Operating system version: 10.12
  • BLT version: 8.6.11

When I run this command:

blt deploy

I get the following output:

blt > deploy:tag:
usage: git tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] <tagname> [<head>]
   or: git tag -d <tagname>...
   or: git tag -l [-n[<num>]] [--contains <commit>] [--points-at <object>]
		[--format=<format>] [--[no-]merged [<commit>]] [<pattern>...]
   or: git tag -v <tagname>...

    -l, --list            list tag names
    -n[<n>]               print <n> lines of each tag message
    -d, --delete          delete tags
    -v, --verify          verify tags

Tag creation options
    -a, --annotate        annotated tag, needs a message
    -m, --message <message>
                          tag message
    -F, --file <file>     read message from file
    -s, --sign            annotated and GPG-signed tag
    --cleanup <mode>      how to strip spaces and #comments from message
    -u, --local-user <key-id>
                          use another key to sign the tag
    -f, --force           replace the tag if exists
    --create-reflog       create a reflog

Tag listing options
    --column[=<style>]    show tag list in columns
    --contains <commit>   print only tags that contain the commit
    --merged <commit>     print only tags that are merged
    --no-merged <commit>  print only tags that are not merged
    --sort <key>          field name to sort on
    --points-at <object>  print only tags of the object
    --format <format>     format to use for the output

And I expected this to happen:

Command should fail before being run, or even ask instruct the user that they must enter a tag, since they said yes.

@grasmash grasmash added the Bug Something isn't working label Feb 9, 2017
grasmash added a commit to grasmash/bolt that referenced this issue Feb 9, 2017
@grasmash grasmash self-assigned this Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants