Compare commits
No commits in common. "96cbac27028c81aaeeabcf9359632eda9ae21ae4" and "2ec6e1c10701feaa1822b5629aaa2e236513b114" have entirely different histories.
96cbac2702
...
2ec6e1c107
27
.drone.yml
27
.drone.yml
@ -4,20 +4,13 @@ name: gitea_token
|
|||||||
get:
|
get:
|
||||||
path: odit-git-bot
|
path: odit-git-bot
|
||||||
name: apikey
|
name: apikey
|
||||||
|
|
||||||
---
|
|
||||||
kind: secret
|
|
||||||
name: git_ssh
|
|
||||||
get:
|
|
||||||
path: odit-git-bot
|
|
||||||
name: sshkey
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: build:tag
|
name: build
|
||||||
steps:
|
steps:
|
||||||
- name: run build
|
- name: run build
|
||||||
|
depends_on: ["clone"]
|
||||||
image: node:15.11.0-alpine3.13
|
image: node:15.11.0-alpine3.13
|
||||||
commands:
|
commands:
|
||||||
- apk add git zip -f
|
- apk add git zip -f
|
||||||
@ -25,7 +18,8 @@ steps:
|
|||||||
- yarn build
|
- yarn build
|
||||||
- mkdir out
|
- mkdir out
|
||||||
- zip -r out/dist.zip dist
|
- zip -r out/dist.zip dist
|
||||||
- name: gitea add packages to build
|
- name: gitea_release
|
||||||
|
depends_on: ["run build"]
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
@ -39,17 +33,8 @@ steps:
|
|||||||
- sha512
|
- sha512
|
||||||
- adler32
|
- adler32
|
||||||
- crc32
|
- crc32
|
||||||
- name: checkout electron
|
when:
|
||||||
image: alpine/git
|
event: tag
|
||||||
commands:
|
|
||||||
- git clone https://git.odit.services/lfk/scanclient-electron electron
|
|
||||||
- cd electron
|
|
||||||
- name: tag new version
|
|
||||||
image: node:alpine
|
|
||||||
commands:
|
|
||||||
- yarn
|
|
||||||
- yarn build
|
|
||||||
- npm --no-git-tag-version version ${DRONE_TAG}
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
Loading…
x
Reference in New Issue
Block a user