mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1639 make non-git source: added git describe to archive name
This commit is contained in:
parent
3c0a3ced92
commit
f9de8f3afe
2
Makefile
2
Makefile
@ -909,7 +909,7 @@ source:
|
||||
$(V1) $(MKDIR) -p "$(SOURCE_DIR)"
|
||||
$(V1) $(VERSION_INFO) \
|
||||
--jsonpath="$(SOURCE_DIR)"
|
||||
$(eval SOURCE_NAME := "$(SOURCE_DIR)/OpenPilot.tar")
|
||||
$(eval SOURCE_NAME := "$(SOURCE_DIR)/OpenPilot-$(shell git describe).tar")
|
||||
$(V1) git archive --prefix="OpenPilot/" -o "$(SOURCE_NAME)" HEAD
|
||||
$(V1) tar --append --file="$(SOURCE_NAME)" \
|
||||
--transform='s,.*version-info.json,OpenPilot/version-info.json,' \
|
||||
|
Loading…
Reference in New Issue
Block a user