Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
push:
tags:
- 'v*'

permissions:
contents: read

jobs:
release:
permissions:
contents: write
uses: owncloud/reusable-workflows/.github/workflows/release.yml@main
with:
app-name: notes
# notes emits two tarballs both named notes.tar.gz (source and appstore);
# publish only the appstore one, otherwise the release assets collide.
artifact-glob: build/artifacts/appstore/*.tar.gz
secrets:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_CERT: ${{ secrets.SIGNING_CERT }}
SIGNING_CHAIN: ${{ secrets.SIGNING_CHAIN }}
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ endif
# * the certificate is located in ~/.owncloud/notes.crt
occ=$(CURDIR)/../../occ
phpunit_oc10=$(CURDIR)/../../lib/composer/bin/phpunit
configdir=$(CURDIR)/../../config
private_key=$(HOME)/.owncloud/certificates/$(app_name).key
certificate=$(HOME)/.owncloud/certificates/$(app_name).crt
sign=php -f $(occ) integrity:sign-app --privateKey="$(private_key)" --certificate="$(certificate)"
Expand Down Expand Up @@ -168,9 +167,7 @@ appstore: build
"CHANGELOG.md" \
$(appstore_build_directory)
ifdef CAN_SIGN
mv $(configdir)/config.php $(configdir)/config-2.php
$(sign) --path="$(appstore_build_directory)"
mv $(configdir)/config-2.php $(configdir)/config.php
else
@echo $(sign_skip_msg)
endif
Expand Down