Makefile: allow make release to be run twice in a row
We recently fixed a problem with the macOS target to make it possible to build a second time after running "make release", but we forgot a Windows target as well. Let's make it possible to run that command twice in a row.
This commit is contained in:
parent
6bcb1d10f6
commit
a710c9c776
1
Makefile
1
Makefile
@ -332,6 +332,7 @@ $(RELEASE_INCLUDES) bin/git-lfs-darwin-% script/install.sh
|
|||||||
# CRLF in the non-binary components of the artifact.
|
# CRLF in the non-binary components of the artifact.
|
||||||
bin/releases/git-lfs-windows-%-$(VERSION).zip : $(RELEASE_INCLUDES) bin/git-lfs-windows-%.exe
|
bin/releases/git-lfs-windows-%-$(VERSION).zip : $(RELEASE_INCLUDES) bin/git-lfs-windows-%.exe
|
||||||
@mkdir -p bin/releases
|
@mkdir -p bin/releases
|
||||||
|
rm -f $@
|
||||||
zip -j -l $@ $^
|
zip -j -l $@ $^
|
||||||
zip -u $@ man/*
|
zip -u $@ man/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user