Skip to content

Commit 4b281d1

Browse files
committed
add release target
1 parent 91a4b8c commit 4b281d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ upload: | target/ubuntu-$(UBUNTU_VERSION)/stack_$(PKG_VERSION)-$(GIT_REV_COUNT)-
3131
deb-s3 upload -b download.fpcomplete.com --sign=9BEFB442 --prefix=ubuntu/$(UBUNTU_CODENAME) \
3232
target/ubuntu-$(UBUNTU_VERSION)/stack_$(PKG_VERSION)-$(GIT_REV_COUNT)-$(GIT_SHA)_amd64.deb
3333

34+
release:
35+
@UBUNTU_CODENAME=precise UBUNTU_VERSION=12.04 make upload
36+
@UBUNTU_CODENAME=trusty UBUNTU_VERSION=14.04 make upload
37+
@UBUNTU_CODENAME=utopic UBUNTU_VERSION=14.10 make upload
38+
@UBUNTU_CODENAME=vivid UBUNTU_VERSION=15.04 make upload
39+
3440
clean:
3541
@rm -rf Dockerfile target
3642

37-
.PHONY: clean deb docker default ubuntu-stack upload
43+
.PHONY: clean deb docker default ubuntu-stack upload release

0 commit comments

Comments
 (0)