2024-07-05 14:40:25 +02:00
|
|
|
steps:
|
|
|
|
- name: "Create a virtual environment"
|
|
|
|
image: python:3
|
|
|
|
commands:
|
|
|
|
- pip install -r ./requirements.txt -t ./lib
|
|
|
|
when:
|
|
|
|
- event: tag
|
|
|
|
- name: "Build a zip"
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- apk add zip
|
2024-07-05 14:50:34 +02:00
|
|
|
- zip -r Flow.Launcher.Plugin.OSRSSearch-${CI_COMMIT_TAG}.zip . -x '*.git*'
|
2024-07-05 14:40:25 +02:00
|
|
|
when:
|
|
|
|
- event: tag
|
|
|
|
- name: "Create release"
|
|
|
|
image: woodpeckerci/plugin-release
|
|
|
|
settings:
|
|
|
|
files:
|
2024-07-05 15:14:30 +02:00
|
|
|
- 'Flow.Launcher.Plugin.OSRSSearch*'
|
2024-07-05 14:40:25 +02:00
|
|
|
api_key:
|
|
|
|
from_secret: ACCESS_TOKEN
|
2024-07-05 15:14:30 +02:00
|
|
|
base-url: 'https://git.lrsb.nl'
|
2024-07-05 14:40:25 +02:00
|
|
|
when:
|
|
|
|
- event: tag
|