mum-rs / mum

Daemon/cli mumble client
MIT License
31 stars 2 forks source link

Actually use version-env on mumctl #104

Closed sornas closed 3 years ago

sornas commented 3 years ago

How about this behaviour?

$ cargo build
   Compiling mumctl v0.4.0 (/home/gustav/dev/mum/mumctl)
   Compiling mumd v0.4.0 (/home/gustav/dev/mum/mumd)
    Finished dev [unoptimized + debuginfo] target(s) in 6.46s

$ target/debug/mumd --version
mumd v0.3-289-g6d9863c

$ MUM_VERSION="0.4.0-rc.1" cargo build
   Compiling mumd v0.4.0 (/home/gustav/dev/mum/mumd)
   Compiling mumctl v0.4.0 (/home/gustav/dev/mum/mumctl)
    Finished dev [unoptimized + debuginfo] target(s) in 6.42s

$ target/debug/mumd --version
mumd 0.4.0-rc.1

$ target/debug/mumctl --version
mumctl 0.4.0-rc.1

$ cargo build
   Compiling mumd v0.4.0 (/home/gustav/dev/mum/mumd)
   Compiling mumctl v0.4.0 (/home/gustav/dev/mum/mumctl)
    Finished dev [unoptimized + debuginfo] target(s) in 6.28s

$ target/debug/mumd --version
mumd v0.3-289-g6d9863c
default-username-852 commented 3 years ago

That seems fine

sornas commented 3 years ago

Pushed