Skip to content

Commit

Permalink
+autorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtificialOwl committed Sep 6, 2018
1 parent 2e83485 commit 4573b84
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,27 @@ source_dir=$(build_dir)/source
sign_dir=$(build_dir)/sign
package_name=$(app_name)
cert_dir=$(HOME)/.nextcloud/certificates
github_account=daita
codecov_token_dir=$(HOME)/.nextcloud/codecov_token
version+=0.99.0

all: appstore

release: appstore create-tag

autorelease: release
github-release release \
--user $(github_account) \
--repo $(app_name) \
--tag v$(version) \
--name "$(app_name) v$(version)"
github-release upload \
--user $(github_account) \
--repo $(app_name) \
--tag v$(version) \
--name "$(app_name)-$(version)" \
--file $(build_dir)/$(app_name)-$(version).tar.gz

create-tag:
git tag -s -a v$(version) -m "Tagging the $(version) release."
git push origin v$(version)
Expand Down

0 comments on commit 4573b84

Please sign in to comment.