makefile+scripts: add Go version check to release command
This commit updates `scripts/release.sh` to include a check for the correct Go version before executing the release build. This ensures that the release binaries are built with the specified Go version, maintaining consistency and integrity for developer signatures.
This commit is contained in:
1 parent
b4ef22bf47
commit
7919b3f204
2 files changed
+14
-2
No files matched your search
@@ -162,7 +162,7 @@ release-install:
|
||||
release: clean-mobile
|
||||
@$(call print, "Releasing lnd and lncli binaries.")
|
||||
$(VERSION_CHECK)
|
||||
./scripts/release.sh build-release "$(VERSION_TAG)" "$(BUILD_SYSTEM)" "$(RELEASE_TAGS)" "$(RELEASE_LDFLAGS)"
|
||||
./scripts/release.sh build-release "$(VERSION_TAG)" "$(BUILD_SYSTEM)" "$(RELEASE_TAGS)" "$(RELEASE_LDFLAGS)" "$(GO_VERSION)"
|
||||
|
||||
#? docker-release: Same as release but within a docker container to support reproducible builds on BSD/MacOS platforms
|
||||
docker-release:
|
||||
|
||||
Reference in new issue
Block a user