omni / poa-bridge

POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
https://github.com/poanetwork/token-bridge
GNU General Public License v3.0
79 stars 38 forks source link

Problem: hard to check which version the bridge is #96

Closed yrashk closed 6 years ago

yrashk commented 6 years ago

Solution: introduce bridge -v|--version flag to print the version

The version is built off git describe, however, as a backup, if git describe fails (stripped .git, etc.), this will fall back to whatever is specified in Cargo.toml

Fixes #87

yrashk commented 6 years ago
$ bridge --version
0.2.1-2-g813a871