1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 02:47:56 +01:00

use branch for rhel

This commit is contained in:
Jason N. 2024-04-04 17:24:32 -04:00
parent 11f3becb1b
commit dcda4a8402

2
external/Makefile vendored
View file

@ -1,6 +1,6 @@
lorax/branch-$(VERSION):
git config advice.detachedHead false
cd lorax && git reset --hard HEAD && git checkout tags/$(shell cd lorax && git tag -l lorax-$(VERSION).* --sort=creatordate | tail -n 1)
cd lorax && git reset --hard HEAD && git checkout $(if $(findstring TRUE,$(_RHEL)),rhel$(VERSION)-branch,tags/$(shell cd lorax && git tag -l lorax-$(VERSION).* --sort=creatordate | tail -n 1))
touch lorax/branch-$(VERSION)
install-deps: