-
-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (16 loc) · 739 Bytes
/
Copy pathMakefile
File metadata and controls
21 lines (16 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DOCKER_PLATFORM := linux/amd64
DOCKER_IMAGE := gitkraken-update
MOUNT_PATH := $(CURDIR)
DOCKER_RUN := docker run --platform=$(DOCKER_PLATFORM) --rm -v "$(MOUNT_PATH)":/work -w /work $(DOCKER_IMAGE)
.PHONY: pull push update-container update-container-pkgrel
pull:
git subtree split -P gitkraken-aur --rejoin
git subtree pull -P gitkraken-aur "aur@aur.archlinux.org:gitkraken.git" master -m "Merge subbtree gitkraken"
push:
git subtree push -P gitkraken-aur "aur@aur.archlinux.org:gitkraken.git" master
update-container:
docker build --platform=$(DOCKER_PLATFORM) -t $(DOCKER_IMAGE) .
$(DOCKER_RUN) ./update.sh
update-container-pkgrel:
docker build --platform=$(DOCKER_PLATFORM) -t $(DOCKER_IMAGE) .
$(DOCKER_RUN) ./update.sh -p