From 8f2490f6b83ca010cfb0ff1f7f97f218e2ebcff3 Mon Sep 17 00:00:00 2001 From: Seth Reeser Date: Tue, 17 Dec 2019 15:07:26 -0500 Subject: [PATCH] Fixes #126, changes for release of version 1.3.2 --- Gemfile | 2 +- README.adoc | 31 +++++++++++++++++++++++++---- lib/vagrant-registration/version.rb | 2 +- 3 files changed, 29 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index e239d58..c6501c7 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' group :development do gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', - :ref => 'v1.8.4' + :ref => 'v1.9.8' # test dependencies gem 'minitest' diff --git a/README.adoc b/README.adoc index f5dbefa..d5d107f 100644 --- a/README.adoc +++ b/README.adoc @@ -398,17 +398,22 @@ option to `false`: == Development +The use of https://rvm.io[RVM] is recommended. Verified to work with +ruby 2.0.0p648. + +.... +rvm install 2.0 +rvm use 2.0 +.... + To install a development environment, clone the repo and prepare dependencies by: .... gem install bundler -bundler install +bundle install .... -The use of https://rvm.io[RVM] is recommended. Verified to work with -ruby 2.0.0p643. - === Tests ==== Minitest @@ -460,6 +465,24 @@ __build/features_report.html__. They can also be opened via: $ bundle exec rake features:open_report .... +== Releasing + +To release a new version of vagrant-registration you will need to do the following: + +*(only contributors of the GitHub repo and owners of the project at RubyGems will have rights to do this)* + +1. First, bump, commit, and push the version in ~/lib/vagrant-registration/version.rb: + * Follow [Semantic Versioning](http://semver.org/). +2. Then, create a matching GitHub Release (this will also create a tag): + * Preface the version number with a `v`. + * https://github.com/projectatomic/adb-vagrant-registration/releases +3. You will then need to build and push the new gem to RubyGems: + * `rake build` + * `gem push pkg/vagrant-registration-1.3.2.gem` +4. Then, when John Doe runs the following, they will receive the updated vagrant-registration plugin: + * `vagrant plugin update` + * `vagrant plugin update vagrant-registration` + == Acknowledgements The project would like to make sure we thank diff --git a/lib/vagrant-registration/version.rb b/lib/vagrant-registration/version.rb index a4e073e..68a66f1 100644 --- a/lib/vagrant-registration/version.rb +++ b/lib/vagrant-registration/version.rb @@ -1,6 +1,6 @@ module VagrantPlugins # Registration plugin to auto-register guests on `vagrant up` module Registration - VERSION = '1.3.2.dev' + VERSION = '1.3.2' end end