• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1desc "tag and release gl-matrix v#{GLMatrix::VERSION}"
2task :release do
3  require 'thor'
4  Bundler.ui = Bundler::UI::Shell.new(Thor::Shell::Basic.new)
5  Bundler.ui.debug! if ENV['DEBUG']
6
7  # Sanity check: rebuild files just in case dev forgot to.
8  # If so, files will change and release will abort since changes
9  # were not checked in.
10  Rake::Task['build'].invoke
11
12  release do
13    # Put other release-related stuff here, such as publishing docs;
14    # if anything fails, gl-matrix will be untagged and not pushed.
15    #
16    # Example:
17    #
18    #   Rake::Task['doc:publish'].invoke
19    #
20  end
21end
22