summarylogtreecommitdiffstats
path: root/Makefile
blob: 6800629aa215bceea8e2152f042961bf115f95b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VERSION = 4.6.0
RELEASE = 1

release:
	sed -i 's/^pkgver=.*/pkgver=$(VERSION)/g' PKGBUILD
	sed -i 's/^pkgrel=.*/pkgrel=$(RELEASE)/g' PKGBUILD
	mksrcinfo
	updpkgsums
	rm v$(VERSION).tar.gz
	git add .SRCINFO Makefile PKGBUILD
	git commit -m "Release v$(VERSION)"
	git push

.PHONY: release