Or get the branch?
This commit is contained in:
parent
712a2f6738
commit
3a64e23583
|
@ -7,4 +7,7 @@ pipeline:
|
|||
- apt-get update
|
||||
- apt-get install -y hunspell hunspell-fr-comprehensive
|
||||
- python3 -m pip install -r requirements.txt
|
||||
- BRANCH="$(grep ^BRANCH Makefile | awk '{print $3}')"
|
||||
- git fetch origin --no-tags +refs/heads/$BRANCH
|
||||
- git branch $BRANCH origin/$BRANCH
|
||||
- make verifs
|
||||
|
|
2
Makefile
2
Makefile
|
@ -140,7 +140,7 @@ wrap: ensure_test_prerequisites
|
|||
@echo "Re wrapping modified files"
|
||||
powrap -m
|
||||
|
||||
SRCS = $(shell git diff --name-only $(BRANCH) 2>/dev/null | grep '.po$$' || echo *.po */*.po)
|
||||
SRCS = $(shell git diff --name-only $(BRANCH) | grep '.po$$')
|
||||
# foo/bar.po => $(POSPELL_TMP_DIR)/foo/bar.po.out
|
||||
DESTS = $(addprefix $(POSPELL_TMP_DIR)/,$(addsuffix .out,$(SRCS)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue