build+make: move release script

Because this script is now run from the main Makefile, it is more
suitable to be located in the main scripts folder where the other
build related scripts reside.
This commit is contained in:
Oliver Gugger 2020-04-24 14:27:48 +02:00
parent f4901d8ff9
commit caf4cb16c4
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
3 changed files with 2 additions and 2 deletions

@ -129,7 +129,7 @@ install:
release:
@$(call print, "Releasing lnd and lncli binaries.")
$(VERSION_CHECK)
./build/release/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)"
scratch: build

@ -39,7 +39,7 @@ RELEASE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc
# from the current date.
ifneq ($(tag),)
VERSION_TAG = $(tag)
VERSION_CHECK = ./build/release/release.sh check-tag "$(VERSION_TAG)"
VERSION_CHECK = ./scripts/release.sh check-tag "$(VERSION_TAG)"
endif
# By default we will build all systems. But with the 'sys' tag, a specific