Compare commits

...

3 Commits

Author SHA1 Message Date
Lance Vick 05e1e51db7
release: 1.0.0rc1 2024-08-02 22:05:44 -07:00
Lance Vick 44e18ea21b
fix default VERSION arg 2024-08-02 22:05:27 -07:00
Lance Vick a2a3cce64c
fix previous env import on reproduce 2024-08-02 21:58:30 -07:00
4 changed files with 13 additions and 3 deletions

View File

@ -7,7 +7,7 @@ VERSION := development
export export
## Use env vars from latest release when reproducing ## Use env vars from latest release when reproducing
ifeq ($(REPRODUCE),"TRUE") ifdef REPRODUCE
include dist/release.env include dist/release.env
export export
endif endif
@ -25,7 +25,7 @@ out/airgap.iso: Containerfile $(shell git ls-files rootfs)
docker build \ docker build \
--progress=plain \ --progress=plain \
--output type=local,dest=out \ --output type=local,dest=out \
--build-arg VERSION="$(or $(VERSION),"development")" \ --build-arg VERSION="$(VERSION)" \
--build-arg GIT_REF="$(GIT_REF)" \ --build-arg GIT_REF="$(GIT_REF)" \
--build-arg GIT_AUTHOR="$(GIT_AUTHOR)" \ --build-arg GIT_AUTHOR="$(GIT_AUTHOR)" \
--build-arg GIT_KEY="$(GIT_KEY)" \ --build-arg GIT_KEY="$(GIT_KEY)" \
@ -104,7 +104,7 @@ verify: | dist/manifest.txt
.PHONY: reproduce .PHONY: reproduce
reproduce: clean | out reproduce: clean | out
$(MAKE) $(MAKE) REPRODUCE=true
diff -q out/manifest.txt dist/manifest.txt; diff -q out/manifest.txt dist/manifest.txt;
out: out:

BIN
dist/airgap.iso (Stored with Git LFS) vendored Normal file

Binary file not shown.

2
dist/manifest.txt vendored Normal file
View File

@ -0,0 +1,2 @@
f03a244a512c21d3ded79a05922390df0d594987a2c95ac95618037b6bc7ddcd airgap.iso
7e57287da48a6eba06fa8959bbedfc49a081a565a252099fec47c156c4e21954 release.env

5
dist/release.env vendored Normal file
View File

@ -0,0 +1,5 @@
VERSION=1.0.0rc1
GIT_REF=a2a3cce64c39439b0c0d6742e2fad7a092a9df56
GIT_AUTHOR=Lance R. Vick
GIT_KEY=6B61ECD76088748C70590D55E90A401336C8AAA9
GIT_TIMESTAMP=2024-08-02 21:58:30 -0700