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