topdir.mk / projects-dir.mk: Add get-pub
Add get-pub for top directory / projects directory level. This is a janware specific target needed for CI. It integrates the current master branch from the new Forgejo-based Git repos.
That said, this will likely need to go along with other release machinery. Packaging is good, but releasing over a bunch of directories is an intricate process, as-is only usable by janware itself, and doesn't need to be part of jw-pkg.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ecbe9d20b3
commit
b038baf668
2 changed files with 10 additions and 0 deletions
|
|
@ -135,6 +135,7 @@ install-links:
|
|||
|
||||
get-maintainer: git-get-maintainer
|
||||
get-official: git-get-official
|
||||
get-pub: git-get-pub
|
||||
|
||||
git-init: git-init.done $(GIT_DESCR)
|
||||
|
||||
|
|
@ -206,6 +207,11 @@ git-get-official:
|
|||
git-get-maintainer:
|
||||
make git-get-$(call proj_query,getval global jw-maintainer)
|
||||
|
||||
git-get-pub:
|
||||
if git remote | grep -q "^pub$$"; then \
|
||||
git pull pub master ;\
|
||||
fi
|
||||
|
||||
git-get-%:
|
||||
PGIT_SH_PROJECTS=. $(PGIT_SH) get --refspec $*:$(GIT_MAIN_BRANCH):current-branch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue