Bumpup version
$ brew tap tbpgr/vup
$ brew install vup
$ cat shard.yml
name: hoge
version: 0.1.2
$ vup --show
0.1.2
$ cat shard.yml
name: hoge
version: 0.1.2
$ cat ./src/hoge/version.cr
module Hoge
VERSION = "0.1.2"
end
$ vup --patch
$ cat shard.yml
name: hoge
version: 0.1.3
$ cat ./src/hoge/version.cr
module Hoge
VERSION = "0.1.3"
end
$ cat shard.yml
name: hoge
version: 0.1.2
$ cat ./src/hoge/version.cr
module Hoge
VERSION = "0.1.2"
end
$ vup --minor
$ cat shard.yml
name: hoge
version: 0.2.0
$ cat ./src/hoge/version.cr
module Hoge
VERSION = "0.2.0"
end
$ cat shard.yml
name: hoge
version: 0.1.2
$ cat ./src/hoge/version.cr
module Hoge
VERSION = "0.1.2"
end
$ vup --major
$ cat shard.yml
name: hoge
version: 1.0.0
$ cat ./src/hoge/version.cr
module Hoge
VERSION = "1.0.0"
end
$ rake -T
rake build:debug # build (debug mode)
rake build:release # build (release mode)
rake release # release latest package
- Fork it ( https://github.com/tbpgr/vup/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- tbpgr tbpgr - creator, maintainer