blob: 83263aa6f973cfdf7c225ec781d7bfc290e81f25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
.PHONY: upload
remote = github
repo = https://github.com/home-assistant/frontend
branch = master
version: FORCE
git remote show | grep github || git remote add $(remote) $(repo)
git fetch $(remote)
git describe --tags $(remote)/$(branch) | cut -d- -f1 > $@
FORCE:
PKGBUILD: version
%: %.in
m4 $< > $*
.SRCINFO: PKGBUILD
mksrcinfo
upload: .SRCINFO
git commit -am "`cat version`"
git push
|