-
Notifications
You must be signed in to change notification settings - Fork 92
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
Correct lein REPL example in README.md #207
Conversation
Just FYI: remember that now @lspector needs to include release info in his commit message. Thus, the last few merges haven't changed the version at all. Use your own discretion about major/minor/patch updates. |
Hmm. I'm just looking at the changes via my browser and hitting "merge." No commit message or anything like that. No command line. I sort-of gather from @saulshanabrook's comment that you linked that I need to do a |
Nope, no # first make sure we are at the latest commit
git checkout master
git pull master
# then make our commit
git commit --allow-empty -m "lein release minor"
git push I know this isn't probably ideal. A button that says "RELEASE ME NOW" would be much easier, but that is harder to fit within the Travis CI test/release process. There are many ways of implementing such a button, or a Slack command, but I haven't felt like looking into them/maintaining them. Let me know if you have any more Qs or suggestions, happy to explore other alternatives. |
Merge commits have commit messages. I'm not sure if you can change them on GitHub, but I think so; this says that you can add a commit message during the process. @saulshanabrook: would your code pick up commit messages from commits made on GitHub, or does it have to be a local commit? |
Any commit. Yeah if you can change the commit message on a merge, you can just add that line. It just looks for the last commit, when building, and looks at the status. |
I just merged a pull request of Tom's, via the web interface, with "lein release minor" added to the commit message... I guess we'll see what happens :-) -Lee
Lee Spector, Professor of Computer Science |
@lspector It did not work, I am investigating |
Ah I see, I was running I will remove the |
Is it working? Also, any guidance on when I should include "lein release minor"? @thelmuth just submitted another pull request (Checksum more test cases (#210)) and I'm not clear about whether that should count as a minor release or not. I'd be inclined to do it for every merge, but I don't know if that's right. |
@lspector I'd use your best judgement as to where the change fits in the semantic versioning scheme. Patches are basically for bug fixes, changes to READMEs, small tweaks, etc. Minor versions add functionality, features, etc. Major versions should be significant changes that likely break backwards compatibility -- a good example would be the change to Plush genomes. I'd imagine many of the commits will be minor versions, as you say, unless the change is very small. |
@lspector Yep it's working, but it has to be |
Thanks @saulshanabrook -- next time I'll do that. |
No description provided.