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

Fotingo release -n parameter is not working #73

Open
llosimura opened this issue May 23, 2018 · 2 comments
Open

Fotingo release -n parameter is not working #73

llosimura opened this issue May 23, 2018 · 2 comments

Comments

@llosimura
Copy link
Contributor

According to the documentation:

❯ fotingo release -h

  Usage: fotingo-release [options]

  Options:

    -n, --no-branch-issue  Do not pick issue from the branch name
    -i, --issue [issue]    Specify more issues to include in the release (default: )
    -h, --help             output usage information

it seems that -n and --no-branch-issue are equivalent. However, if I execute

❯ fotingo release -n -issue_1 release_1
[1/5] 🚀  Initializing services...
error 💥  You haven't made any changes to this branch

Using --no-branch-issue seem to be working correctly

@tagoro9
Copy link
Owner

tagoro9 commented May 23, 2018

This is interesting, as both options are an alias defined in commander. My guess is that something may have changed in the repo or the origin between both executions.

@llosimura
Copy link
Contributor Author

Today I got this error again and was able to reproduce it given the following scenario.

  • Once your changes are merged checkout to master
  • In master try to do fotingo release -n -issue_1 release_1. It fails
  • Create a new branch and create a dummy commit.
  • Rerun fotingo release -n -issue_1 release_1. It works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants