make+release: move release script, fix make

Because the "make release" command collided with the release.sh script,
make thought it needed to do something with that file.
We fix that problem in two ways: We move the file into the scripts sub
folder and also tell make that all our defined goals don't correspond to
folders or files.
This commit is contained in:
Oliver Gugger 2024-10-23 11:16:25 +02:00
parent 81f44b7785
commit 30eb7e4d2f
No known key found for this signature in database
GPG key ID: 8E4256593F177720
2 changed files with 9 additions and 1 deletions

View file

@ -163,7 +163,7 @@ release: app-build go-release
go-release:
@$(call print, "Creating release of lightning-terminal.")
./release.sh build-release "$(VERSION_TAG)" "$(BUILD_SYSTEM)" "$(LND_RELEASE_TAGS)" "$(RELEASE_LDFLAGS)"
./scripts/release.sh build-release "$(VERSION_TAG)" "$(BUILD_SYSTEM)" "$(LND_RELEASE_TAGS)" "$(RELEASE_LDFLAGS)"
docker-release: app-build
@$(call print, "Building release helper docker image.")
@ -279,3 +279,11 @@ clean: clean-itest
$(RM) ./litcli-debug
$(RM) ./litd-debug
$(RM) coverage.txt
# Prevent make from interpreting any of the defined goals as folders or files to
# include in the build process.
.PHONY: default all yarn-install build install go-build go-build-noui \
go-install go-install-noui go-install-cli app-build release go-release \
docker-release docker-tools scratch check unit unit-cover unit-race \
clean-itest build-itest itest-only itest flake-unit fmt lint mod mod-check \
list rpc protos protos-check rpc-js-compile clean