diff --git a/Makefile b/Makefile index 7cc765c..5cfaa3f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ SOURCE = https://raw.githubusercontent.com/fedora-modularity/baseruntime-package-lists/master/data/Fedora/devel/hp MODULE = $(shell pwd | sed 's/^.*\///') +BRANCH = $(shell git rev-parse --abbrev-ref HEAD | sed -e 's/^/./' -e 's/^\.master$$//') update: - curl $(SOURCE)/$(MODULE).yaml -o $(MODULE).yaml + curl $(SOURCE)/$(MODULE)$(BRANCH).yaml -o $(MODULE).yaml