Closed zekefast closed 10 years ago
Damn :/ Yeah I forgot about tags
On Fri, Oct 11, 2013 at 3:49 PM, Zeke Fast notifications@github.com wrote:
Please, push tags for versions on rubygems.org to GitHub, at least for latest 1.0.0.rc2.
Thank you in advance!
Reply to this email directly or view it on GitHub: https://github.com/solnic/virtus/issues/213
You can just use --tags
option with git push
when pushing on GH. ;)
Do you know what's the easiest way to find sha1 for releases?
Do you mean having code find sha1 for it? I think it's impossible exactly determine the commit by code, because even same code committed on different time has different hashes. If you have no tags for previous releases and I'm the only who notice that. I'd suggest don't bothering with tagging and just pay attention to this in future or use git bisect
to find commit sure and tag it sure if you have sing of release (like version bump in files or release notes).
I always tag releases. I forgot this time because it was a pre-release and I was in rush :(
On Sun, Oct 13, 2013 at 4:43 PM, Zeke Fast notifications@github.com wrote:
Do you mean having code find sha1 for it? I think it's impossible exactly determine the commit by code, because even same code committed on different time has different hashes. If you have no tags for previous releases and I'm the only who notice that. I'd suggest don't bothering with tagging and just pay attention to this in future or use
git bisect
to find commit sure and tag it sure if you have sing of release (like version bump in files or release notes).Reply to this email directly or view it on GitHub: https://github.com/solnic/virtus/issues/213#issuecomment-26219180
I try to use gem release --tag
, but I forget the switch sometimes. I wish it was the default or there was a way to configure it to be the default.
@dkubb alias gem-release="gem release --tag"
Lets move this to devtools ;) devtools release
?
@GBH oh right! good call.
@mbj Yeah, that wouldn't be so bad.. I guess using an alias will deal with a lot of the pain though.
I don't use gem release
- what does it do exactly?
@solnic It's this thing: https://github.com/svenfuchs/gem-release I ditched jeweler for this and I really like it.
Yeah, it's a nice single purpose library. It adds the "release" command to gem. With the --tag
switch it will add a version tag at the same time it pushes to rubygems.
I just recalled I used to use it and then I stopped, not sure why.
Seems like just tagging the shas where the version was bumped would do it. https://github.com/solnic/virtus/commits/master/lib/virtus/version.rb
@zekefast, I'm closing this issue now. If you need access to these tags for any reason, please let me know, otherwise, I'm going to leave it be since 1.0 has been released.
@elskwid, Since 1.0 was released this is Okay. Thanks!
Please, push tags for versions on rubygems.org to GitHub, at least for latest 1.0.0.rc2.
Thank you in advance!