1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
# 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
|