Skip to content
Robin Stocker edited this page Jan 7, 2020 · 8 revisions

Checks

Make sure the tests pass, the gemspec lists all files and the gem installs:

rake clean compile test
rake gemspec_check
rake install

Cross compile setup

Currently broken, see https://github.com/robinst/taglib-ruby/issues/62

Fedora:

sudo yum install mingw64-gcc-c++

Then follow instructions for rake-compiler. To build a cross-ruby version 1.9.3-p547, you will need to have a 1.9.3 ruby installed (e.g. with rbenv install 1.9.3-p547). Also note that you may have to set HOST:

rake-compiler cross-ruby HOST=x86_64-w64-mingw32 VERSION=1.9.3-p547

Release

Create release commits:

  • Update CHANGES.md and commit
  • Bump version in lib/taglib/version.rb and commit

Create the Windows binary gem:

rake clean cross native gem

The gem will end up in pkg/taglib-ruby-VERSION-x86-mingw32.gem. Test it by installing it on Windows and running the tests in the installation directory.

Tag and push the release:

rake release

Push the Windows binary gem:

gem push pkg/taglib-ruby-VERSION-x86-mingw32.gem

After release

  • Announce on Twitter
  • Make sure website is up-to-date (e.g. listed features)

Clone this wiki locally