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