You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
370 B

  1. package version
  2. // Version components
  3. const (
  4. Maj = "0"
  5. Min = "20"
  6. Fix = "0"
  7. )
  8. var (
  9. // Version is the current version of Tendermint
  10. // Must be a string because scripts like dist.sh read this file.
  11. Version = "0.20.0"
  12. // GitCommit is the current HEAD set using ldflags.
  13. GitCommit string
  14. )
  15. func init() {
  16. if GitCommit != "" {
  17. Version += "-" + GitCommit
  18. }
  19. }