tar ball fix #6

Merged
jusax23 merged 2 commits from dev into main 2023-02-18 16:53:57 +01:00

View file

@ -10,9 +10,13 @@ pipeline:
- 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 dblang
- mkdir dblang/dist
- mkdir upload - mkdir upload
- npm run prepublish - npm run prepublish
- cp dist/* dblang - cp dist/* dblang/dist
- cp package.json dblang
- cp package-lock.json dblang
- cp readme.md dblang
- zip -r upload/DBlang.zip dblang/* - zip -r upload/DBlang.zip dblang/*
- tar -czvf upload/DBlang.tar.gz 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}" - npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "upload" "$${CI_COMMIT_MESSAGE}"