fix: build order in release
This commit is contained in:
parent
e75ac046e0
commit
8db8dfc2a1
4
Makefile
4
Makefile
|
@ -78,8 +78,8 @@ clean:
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: clean
|
release: clean
|
||||||
rm -rf dist/*
|
|
||||||
$(MAKE) NOCACHE=1 VERSION=$(VERSION)
|
$(MAKE) NOCACHE=1 VERSION=$(VERSION)
|
||||||
|
rm -rf dist/*
|
||||||
cp -R out/release.env out/airgap.iso out/manifest.txt dist/
|
cp -R out/release.env out/airgap.iso out/manifest.txt dist/
|
||||||
|
|
||||||
.PHONY: sign
|
.PHONY: sign
|
||||||
|
@ -118,7 +118,7 @@ out/release.env: $(shell git ls-files) | out
|
||||||
echo 'VERSION=$(VERSION)' > out/release.env
|
echo 'VERSION=$(VERSION)' > out/release.env
|
||||||
echo 'GIT_REF=$(GIT_REF)' >> out/release.env
|
echo 'GIT_REF=$(GIT_REF)' >> out/release.env
|
||||||
echo 'GIT_AUTHOR=$(GIT_AUTHOR)' >> out/release.env
|
echo 'GIT_AUTHOR=$(GIT_AUTHOR)' >> out/release.env
|
||||||
echo 'GIT_PUBKEY=$(GIT_PUBKEY)' >> out/release.env
|
echo 'GIT_PUBKEY=$(GIT_PUBKEY)' >> out/release.env
|
||||||
echo 'GIT_TIMESTAMP=$(GIT_TIMESTAMP)' >> out/release.env
|
echo 'GIT_TIMESTAMP=$(GIT_TIMESTAMP)' >> out/release.env
|
||||||
|
|
||||||
out/manifest.txt: out/airgap.iso out/release.env | out
|
out/manifest.txt: out/airgap.iso out/release.env | out
|
||||||
|
|
Loading…
Reference in New Issue