Skip to content

Commit 7c7ad4e

Browse files
committed
Merge pull request #3208 from LibreSign/chore/release
chore: new release
2 parents 90e2da7 + 89eeb2b commit 7c7ad4e

File tree

3 files changed

+51
-13
lines changed

3 files changed

+51
-13
lines changed

.github/workflows/appstore-build-publish.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ jobs:
9696
if: ${{ steps.versions.outputs.nodeVersion }}
9797
env:
9898
CYPRESS_INSTALL_BINARY: 0
99-
NODE_ENV: production
10099
run: |
101100
cd ${{ env.APP_NAME }}
102101
npm ci
@@ -142,6 +141,23 @@ jobs:
142141
repository: nextcloud/server
143142
path: nextcloud
144143

144+
- name: Set up Nextcloud
145+
env:
146+
DB_PORT: 4444
147+
run: |
148+
php nextcloud/occ maintenance:install \
149+
--verbose \
150+
--database=sqlite \
151+
--database-name=nextcloud \
152+
--database-host=127.0.0.1 \
153+
--database-port=$DB_PORT \
154+
--database-user=root \
155+
--database-pass=rootpassword \
156+
--admin-user admin \
157+
--admin-pass admin
158+
php nextcloud/occ --version
159+
php nextcloud/occ app:enable --force ${{ env.APP_NAME }}
160+
145161
- name: Sign app
146162
run: |
147163
# Extracting release
@@ -152,8 +168,10 @@ jobs:
152168
echo '${{ secrets.APP_PRIVATE_KEY }}' > ${{ env.APP_NAME }}.key
153169
wget --quiet "https://github.com/nextcloud/app-certificate-requests/raw/master/${{ env.APP_NAME }}/${{ env.APP_NAME }}.crt"
154170
# Signing
171+
php nextcloud/occ libresign:install --help
155172
php nextcloud/occ libresign:install --all --architecture aarch64
156173
php nextcloud/occ libresign:install --all --architecture x86_64
174+
php nextcloud/occ config:system:set debug --value true --type boolean
157175
php nextcloud/occ libresign:developer:sign-setup --privateKey=../${{ env.APP_NAME }}.key --certificate=../${{ env.APP_NAME }}.crt
158176
php nextcloud/occ integrity:sign-app --privateKey=../${{ env.APP_NAME }}.key --certificate=../${{ env.APP_NAME }}.crt --path=../${{ env.APP_NAME }}/build/artifacts/${{ env.APP_NAME }}
159177
# Rebuilding archive

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,32 @@ Types of changes:
1616
## 10.0.0-beta.1
1717
* 📲 New API documentation
1818

19+
## 9.1.0 - 2024-06-24
20+
### New feature
21+
* Clean old setup binaries
22+
* API documentation generated by OpenAPI moved to Nextcloud pattern
23+
* Hide sidebar when is incomplete setup
24+
### Changed
25+
* Update translations
26+
* Bump packages
27+
* Clean code
28+
### Fixes
29+
* Prevent error when synchonize with windows
30+
* Prevent error when delete visible signature
31+
32+
## 8.1.0 - 2024-06-24
33+
### New feature
34+
* Clean old setup binaries
35+
* API documentation generated by OpenAPI moved to Nextcloud pattern
36+
* Hide sidebar when is incomplete setup
37+
### Changed
38+
* Update translations
39+
* Bump packages
40+
* Clean code
41+
### Fixes
42+
* Prevent error when synchonize with windows
43+
* Prevent error when delete visible signature
44+
1945
## 9.0.2 - 2024-05-10
2046
### New feature
2147
* feat: finish setup in https://github.com/LibreSign/libresign/pull/3039

Makefile

+6-12
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ updateocp:
8787

8888
# Builds the source package for the app store, ignores php and js tests
8989
.PHONY: appstore
90-
appstore: clean
90+
appstore:
91+
rm -rf $(appstore_build_directory)
9192
mkdir -p $(appstore_sign_dir)/$(app_name)
92-
composer install --no-dev
93-
npm ci
94-
npm run build
9593
cp -r \
9694
appinfo \
9795
composer \
@@ -104,21 +102,13 @@ appstore: clean
104102
CHANGELOG.md \
105103
LICENSE \
106104
$(appstore_sign_dir)/$(app_name)
107-
108105
rm $(appstore_sign_dir)/$(app_name)/vendor/endroid/qr-code/assets/*
109106
find $(appstore_sign_dir)/$(app_name)/vendor/mpdf/mpdf/ttfonts -type f -not -name 'DejaVuSerifCondensed.ttf' -delete
110107
find $(appstore_sign_dir)/$(app_name)/vendor/mpdf/mpdf/data/ -type f -delete
111108
rm -rf $(appstore_sign_dir)/$(app_name)/img/screenshot/
112109
mkdir -p $(appstore_sign_dir)/$(app_name)/tests/fixtures
113110
cp tests/fixtures/small_valid.pdf $(appstore_sign_dir)/$(app_name)/tests/fixtures
114111

115-
@if [ ! -f $(cert_dir)/$(app_name).crt ]; then \
116-
$(occ) libresign:install --all --architecture aarch64 \
117-
$(occ) libresign:install --all --architecture x86_64 \
118-
$(occ) libresign:developer:sign-setup --privateKey=$(cert_dir)/$(app_name).key \
119-
--certificate=$(cert_dir)/$(app_name).crt \
120-
fi
121-
122112
@if [ -z "$$GITHUB_ACTION" ]; then \
123113
chown -R www-data:www-data $(appstore_sign_dir)/$(app_name) ; \
124114
fi
@@ -129,6 +119,10 @@ appstore: clean
129119
"https://github.com/nextcloud/app-certificate-requests/raw/master/$(app_name)/$(app_name).crt"; \
130120
fi
131121
@if [ -f $(cert_dir)/$(app_name).key ]; then \
122+
$(occ) libresign:install --all --architecture aarch64; \
123+
$(occ) libresign:install --all --architecture x86_64; \
124+
$(occ) libresign:developer:sign-setup --privateKey=$(cert_dir)/$(app_name).key \
125+
--certificate=$(cert_dir)/$(app_name).crt; \
132126
echo "Signing app files…"; \
133127
$(occ) integrity:sign-app \
134128
--privateKey=$(cert_dir)/$(app_name).key\

0 commit comments

Comments
 (0)