dblang/.woodpecker.yml
jusax23 9317706181
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fixing tar ball
2023-02-18 16:50:54 +01:00

22 lines
No EOL
710 B
YAML

# .woodpecker.yml
platform: linux/arm64
pipeline:
build:
image: node:18-alpine
commands:
- apk add git zip tar
- npm install
- npm install git+https://jusax.de/git/jusax23/gitea-release.git
- mkdir build
- mkdir dblang
- mkdir upload
- npm run prepublish
- cp dist dblang
- cp package.json dblang
- cp package-lock.json dblang
- cp readme.md dblang
- zip -r upload/DBlang.zip dblang/*
- tar -czvf upload/DBlang.tar.gz dblang/*
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "upload" "$${CI_COMMIT_MESSAGE}"
secrets: [ gitea_token ]