Skip to content

Commit

Permalink
Bump libpost to v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jan 31, 2024
1 parent 2c926a6 commit f559650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.Inc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ else
endif

# Also update 'SUPPORTED_VERSION' in internal/postrs/version_check.go
POSTRS_SETUP_REV = 0.7.0-rc6-distributed-verification
POSTRS_SETUP_REV = 0.7.0
POSTRS_SETUP_ZIP = libpost-$(platform)-v$(POSTRS_SETUP_REV).zip
POSTRS_SETUP_URL_ZIP ?= https://github.com/spacemeshos/post-rs/releases/download/v$(POSTRS_SETUP_REV)/$(POSTRS_SETUP_ZIP)
ifeq ($(platform), windows)
Expand Down
2 changes: 1 addition & 1 deletion internal/postrs/version_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

const (
// regexp matching supported versions of post-rs library
SUPPORTED_VERSION = `0\.6\.([5-9]|[1-9][0-9]+)` // 0.6.5+
SUPPORTED_VERSION = `0\.7\.(\d+)` // 0.7.*
// Set this env variable to "true" or "1" to disable version check.
DISABLE_CKECK_ENV = "LIBPOST_DISABLE_VERSION_CHECK"
)
Expand Down

0 comments on commit f559650

Please sign in to comment.