This commit is contained in:
parent
cb396e47ed
commit
010070e6aa
@ -10,7 +10,8 @@ steps:
|
|||||||
- name: create release tar
|
- name: create release tar
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- tar -czf release-$DRONE_TAG.tar.gz init/simpbot.service simpbot
|
- mkdir dist
|
||||||
|
- tar -czf dist/release-$DRONE_TAG.tar.gz init/simpbot.service simpbot
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
@ -20,7 +21,7 @@ steps:
|
|||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
files:
|
files:
|
||||||
- release-$DRONE_TAG.tar.gz
|
- dist/*
|
||||||
base_url: https://git.saintnet.tech
|
base_url: https://git.saintnet.tech
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
Loading…
Reference in New Issue
Block a user