5 Commits

Author SHA1 Message Date
ab7ba528ee removed "@" from dist package
Some checks failed
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is failing
2021-03-14 21:35:41 +01:00
bfff17c465 🚚 move to apk zip
Some checks failed
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is failing
2021-03-14 21:28:40 +01:00
de92402a3c CI - 📁 create zip for release
Some checks failed
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is failing
2021-03-14 21:17:05 +01:00
f4037c78ca CI - also trigger on tag events
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2021-03-14 20:57:13 +01:00
b42ff9ec3c CI Test
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-14 20:54:07 +01:00
2 changed files with 13 additions and 12 deletions

View File

@@ -15,9 +15,10 @@ steps:
depends_on: ["clone"] depends_on: ["clone"]
image: node:15.11.0-alpine3.13 image: node:15.11.0-alpine3.13
commands: commands:
- apk add git -f - apk add git zip -f
- yarn && cd app && yarn && cd .. - yarn && cd app && yarn && cd ..
- yarn electron:package - yarn electron:package
- zip -r out/lfk-scanclient-win32-x64.zip out/lfk-scanclient-win32-x64
- name: gitea_release - name: gitea_release
depends_on: ["run electron packager"] depends_on: ["run electron packager"]
image: plugins/gitea-release image: plugins/gitea-release
@@ -25,7 +26,9 @@ steps:
api_key: api_key:
from_secret: gitea_token from_secret: gitea_token
base_url: https://git.odit.services base_url: https://git.odit.services
files: out/* # files: out/*
files:
- out/lfk-scanclient-win32-x64.zip
checksum: checksum:
- md5 - md5
- sha1 - sha1
@@ -33,11 +36,12 @@ steps:
- sha512 - sha512
- adler32 - adler32
- crc32 - crc32
# when: when:
# event: tag event: tag
trigger: trigger:
# branch: # branch:
# - dev # - dev
event: event:
- push - push
- tag

View File

@@ -23,15 +23,12 @@
"forge": { "forge": {
"packagerConfig": {}, "packagerConfig": {},
"makers": [ "makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "@lfk/scanclient"
}
},
{ {
"name": "@electron-forge/maker-zip", "name": "@electron-forge/maker-zip",
"platforms": [ "darwin" ] "platforms": [ "darwin" ],
"config": {
"name": "lfk__scanclient"
}
}, },
{ {
"name": "@electron-forge/maker-deb", "name": "@electron-forge/maker-deb",