GithubHelp home page GithubHelp logo

Comments (4)

palfvin avatar palfvin commented on July 17, 2024

@myronmarston Sure. I was thinking I need to do that, but wasn't sure what number to give it (not to mention having to figure out github tags, release mechanism, etc.). If I'm interpreting the history correctly, I think you gave it 1.0.0.pre initially. Under the circumstances (i.e. dead simplicity of the gem, maturity of RSpec 3.0), do you think this a reasonable time as any to use 1.0.0? If not, any other suggestions?

from rspec-its.

myronmarston avatar myronmarston commented on July 17, 2024

To cut a release, run bundle exec rake release after committing an update to the version in version.rb and the changelog. It'll take care of tagging it, pushings the tags, building the gem, pushing the gem to rubygems.org, etc.

I think 1.0.0 is fine.

from rspec-its.

palfvin avatar palfvin commented on July 17, 2024

Just a couple of follow-up questions if you don't mind.

I did the release while on a branch that had only been committed and not pushed, let alone merged to master. After I did the release, I then merged to master locally and pushed up because I couldn't figure out how to do a "pull request" on github from the tagged version to master. Can you tell me the "normal" process for doing all that or point me to something to read?

Also, I failed to update the URL for "full changelog" link in Changelog.md since there was no way for me to test the new tag reference prior to creating the tag and was thinking (naively) that the release process might automatically update that. Is the convention to just update the URL with expectation that it will work after the tag is created?

from rspec-its.

myronmarston avatar myronmarston commented on July 17, 2024

Usually when I do the release I do it locally on my master branch, and then the git push performed by rake release pushes directly to the master branch on github.

As for changing the "full changelog" link -- you don't need that in the first place if you don't want it. It's your gem. Maintain it how you like. It is kinda nice to have the link, though. I know the tagging convention (e.g. v1.0.0), so I put that directly in the changelog link URL. You can always fix it after the fact. While the released gem will not have the correct link, people browse the github UI for the changelog more than dig through the released gem source, I think, so that's OK.

from rspec-its.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.