-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (18 loc) · 831 Bytes
/
Makefile
File metadata and controls
23 lines (18 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dev:
Host=:3000 air serve:main
publish:
docker build -f Dockerfile --platform linux/amd64 -t kirari04/videocms:beta --push . --no-cache
dckb:
docker build -f Dockerfile --platform linux/amd64 -t kirari04/videocms:beta --load .
dcktest:
docker run --rm -it -p 3000:3000 kirari04/videocms:beta
bump-minor:
@NEW_VERSION=$$(awk -F. '{print $$1"."$$2+1".0"}' VERSION.txt); \
echo "Bumping minor to $$NEW_VERSION"; \
printf "%s" "$$NEW_VERSION" > VERSION.txt; \
sed -i "s/var VERSION string = \".*\"/var VERSION string = \"$$NEW_VERSION\"/" config/config.go
bump-patch:
@NEW_VERSION=$$(awk -F. '{print $$1"."$$2"."$$3+1}' VERSION.txt); \
echo "Bumping patch to $$NEW_VERSION"; \
printf "%s" "$$NEW_VERSION" > VERSION.txt; \
sed -i "s/var VERSION string = \".*\"/var VERSION string = \"$$NEW_VERSION\"/" config/config.go