pipe error inspect
This commit is contained in:
parent
8aaaff714e
commit
eec272b66e
2 changed files with 5 additions and 3 deletions
|
@ -10,6 +10,8 @@ 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
|
||||||
- npm run prepublish
|
- npm run prepublish
|
||||||
|
- npm run bundleRelease
|
||||||
|
- ls build/bundle
|
||||||
- npm run build-linux-arm64
|
- npm run build-linux-arm64
|
||||||
publish:
|
publish:
|
||||||
image: node:18-alpine
|
image: node:18-alpine
|
||||||
|
@ -24,7 +26,7 @@ pipeline:
|
||||||
- zip -r upload/OutbagServer.zip outbag_server/*
|
- zip -r upload/OutbagServer.zip outbag_server/*
|
||||||
- tar -czvf upload/OutbagServer.tar.gz outbag_server/*
|
- tar -czvf upload/OutbagServer.tar.gz outbag_server/*
|
||||||
- cp build/bin/* upload
|
- cp build/bin/* upload
|
||||||
- npx gitea-release "$${{API_URL}}" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "upload" "$${CI_COMMIT_MESSAGE}"
|
- npx gitea-release "$${API_URL}" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "upload" "$${CI_COMMIT_MESSAGE}"
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
secrets: [ gitea_token, api_url ]
|
secrets: [ gitea_token, api_url ]
|
|
@ -20,8 +20,8 @@
|
||||||
"debug": "tsc && node . -c config.juml -d",
|
"debug": "tsc && node . -c config.juml -d",
|
||||||
"setup": "tsc && node . -c config.juml -s",
|
"setup": "tsc && node . -c config.juml -s",
|
||||||
"bundleRelease": "mkdir build/bundle & esbuild src/main.ts --platform=node --bundle --minify --outfile=build/bundle/main.js",
|
"bundleRelease": "mkdir build/bundle & esbuild src/main.ts --platform=node --bundle --minify --outfile=build/bundle/main.js",
|
||||||
"build-linux-x64": "npm run bundleRelease && mkdir build/bin & pkg -t node18-linux-x64 -o build/bin/outbag-linux-x64 build/bundle/main.js",
|
"build-linux-x64": "mkdir build/bin & pkg -t node18-linux-x64 -o build/bin/outbag-linux-x64 build/bundle/main.js",
|
||||||
"build-linux-arm64": "npm run bundleRelease && mkdir build/bin & pkg -t node18-linux-arm64 -o build/bin/outbag-linux-arm64 build/bundle/main.js"
|
"build-linux-arm64": "mkdir build/bin & pkg -t node18-linux-arm64 -o build/bin/outbag-linux-arm64 build/bundle/main.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue