From 3b37db7bcd433cb08924b8a4c4c7bcf516a11bec Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Thu, 23 Mar 2023 22:58:42 +0300 Subject: [PATCH] fixed ci build (#102) * fixed ci build * ignore krankerl.toml in MANIFEST.in --- .github/workflows/create-release-draft.yml | 10 ++++++---- MANIFEST.in | 1 + krankerl.toml | 5 +++++ 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 krankerl.toml diff --git a/.github/workflows/create-release-draft.yml b/.github/workflows/create-release-draft.yml index 55fefce9..784037fb 100644 --- a/.github/workflows/create-release-draft.yml +++ b/.github/workflows/create-release-draft.yml @@ -37,15 +37,17 @@ jobs: node-version: 16.x - name: Build - run: make + run: | + npm install --deps + npm run build - name: Install Krankerl run: | - wget https://github.com/ChristophWurst/krankerl/releases/download/v0.13.0/krankerl_0.13.0_amd64.deb - sudo dpkg -i krankerl_0.13.0_amd64.deb + wget https://github.com/ChristophWurst/krankerl/releases/download/v0.14.0/krankerl_0.14.0_amd64.deb + sudo dpkg -i krankerl_0.14.0_amd64.deb - name: Package app - run: krankerl package + run: krankerl package || make appstore # - name: Get nextcloud-min-version from appinfo # id: appinfo diff --git a/MANIFEST.in b/MANIFEST.in index 8d44ee4c..a1b2abad 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,6 +7,7 @@ exclude .eslintrc.js .l10nignore .nextcloudignore Makefile exclude *.yaml *.yml *.php *.xml *.js *.json *.lock exclude CODE_OF_CONDUCT.md exclude SECURITY.md +exclude krankerl.toml recursive-exclude * *.yaml *.yml *.php *.xml *.js *.json *.lock *.png diff --git a/krankerl.toml b/krankerl.toml new file mode 100644 index 00000000..7c317fa9 --- /dev/null +++ b/krankerl.toml @@ -0,0 +1,5 @@ +[package] +before_cmds = [ + "npm install --deps", + "npm run build", +]