Skip to content

Commit f040bbf

Browse files
committed
0.2.0
1 parent af46e40 commit f040bbf

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

Makefile

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,36 @@
11
app_name=files_frommail
22

3-
project_dir=$(CURDIR)/../$(app_name)
3+
project_dir=$(CURDIR)
44
build_dir=$(CURDIR)/build/artifacts
55
appstore_dir=$(build_dir)/appstore
66
source_dir=$(build_dir)/source
77
sign_dir=$(build_dir)/sign
88
package_name=$(app_name)
99
cert_dir=$(HOME)/.nextcloud/certificates
1010
codecov_token_dir=$(HOME)/.nextcloud/codecov_token
11-
version+=0.1.1
11+
github_account=nextcloud
12+
branch=master
13+
version+=0.2.0
1214

1315
all: appstore
1416

15-
release: appstore create-tag
17+
release: appstore github-release github-upload
18+
19+
github-release:
20+
github-release release \
21+
--user $(github_account) \
22+
--repo $(app_name) \
23+
--target $(branch) \
24+
--tag v$(version) \
25+
--name "$(app_name) v$(version)"
26+
27+
github-upload:
28+
github-release upload \
29+
--user $(github_account) \
30+
--repo $(app_name) \
31+
--tag v$(version) \
32+
--name "$(app_name)-$(version).tar.gz" \
33+
--file $(build_dir)/$(app_name)-$(version).tar.gz
1634

1735
create-tag:
1836
git tag -s -a v$(version) -m "Tagging the $(version) release."

appinfo/info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
]]>
1313
</description>
14-
<version>0.1.1</version>
14+
<version>0.2.0</version>
1515
<licence>agpl</licence>
1616
<author>Maxence Lange</author>
1717
<namespace>Files_FromMail</namespace>
@@ -28,7 +28,7 @@
2828
<screenshot>https://raw.githubusercontent.com/nextcloud/files_frommail/master/screenshots/v0.1.0.png</screenshot>
2929

3030
<dependencies>
31-
<nextcloud min-version="12" max-version="14"/>
31+
<nextcloud min-version="12" max-version="16"/>
3232
</dependencies>
3333

3434
<commands>

0 commit comments

Comments
 (0)