This commit is contained in:
parent
6eae7f0fad
commit
a926960e11
1 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,12 @@ pipeline:
|
||||||
- npm install
|
- npm install
|
||||||
- npm install git+https://jusax.de/git/jusax23/gitea-release.git
|
- npm install git+https://jusax.de/git/jusax23/gitea-release.git
|
||||||
- mkdir build
|
- mkdir build
|
||||||
|
- mkdir dblang
|
||||||
|
- mkdir upload
|
||||||
- npm run prepublish
|
- npm run prepublish
|
||||||
- ls dist
|
- ls dist
|
||||||
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "dist" "$${CI_COMMIT_MESSAGE}"
|
- cp dist/* 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 ]
|
secrets: [ gitea_token ]
|
Loading…
Reference in a new issue