From caf4cb16c4f48191f0560c6fcc94fa9b71583de1 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Fri, 24 Apr 2020 14:27:48 +0200 Subject: [PATCH] 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. --- Makefile | 2 +- make/release_flags.mk | 2 +- {build/release => scripts}/release.sh | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {build/release => scripts}/release.sh (100%) diff --git a/Makefile b/Makefile index a36999c3..e577b5f9 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/make/release_flags.mk b/make/release_flags.mk index 7b64d3fd..f2d7a2b3 100644 --- a/make/release_flags.mk +++ b/make/release_flags.mk @@ -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 diff --git a/build/release/release.sh b/scripts/release.sh similarity index 100% rename from build/release/release.sh rename to scripts/release.sh