

# Run viv tests
cd /guests/sharedfolder/code/github.com/dustymabe/vagrant-sshfs/test/libvirt
vagrant up
follow README for running tests

# Make sure to bump version in lib/vagrant-sshfs/version.rb and commit
# DO NOT TAG YET


# Craft a commit message for the tag. View the commit message for
  a previous tag by running: git tag -l -n100 v1.2.1

-> In vim add thanks to contributors - grab info with
   git log --no-merges --pretty=format:"%h - %an - %s"
   and
   git log --no-merges --pretty=format:"%h - %ae - %s"
   

-> In vim add commit log - grab with 
   git log --no-merges --pretty=format:"%h %s"

-> In vim add release message - see previous tag for example

# After crafting message then install git-evtag and sign

git-evtag sign vX.X.X


close and type in password for signing

verify with git-evtag verify v1.2.0
verify with git verify-tag v1.2.0 

git push
git push --tags 

# Build with bundle exec rake build (inside viv VM)
bundle exec rake build

# Sign the output
gpg --armor --detach-sign pkg/vagrant-sshfs-1.2.0.gem
$ ls pkg/vagrant-sshfs-1.2.0.gem* 
pkg/vagrant-sshfs-1.2.0.gem  pkg/vagrant-sshfs-1.2.0.gem.asc

# make tar.gz and zip files
git archive --format=tar.gz v1.3.0 > vagrant-sshfs-1.3.0.tar.gz
gpg --armor --detach-sign vagrant-sshfs-1.3.0.tar.gz 
git archive --format=zip v1.3.0 > vagrant-sshfs-1.3.0.zip
gpg --armor --detach-sign vagrant-sshfs-1.3.0.zip 


# Update release notes and upload files on github

# push to rubygems with:
gem push pkg/vagrant-sshfs-1.2.0.gem

