Skip to content

Commit a47820f

Browse files
author
Petr Kachanovsky
committed
fix(autorelease): add rsync
1 parent 57603bd commit a47820f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.woodpecker/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ steps:
2525
volumes:
2626
- /var/run/docker.sock:/var/run/docker.sock
2727
commands:
28+
- apt update && apt install -y rsync
2829
- export $(cat /woodpecker/deploy.vault.env | xargs)
2930
- npm clean-install
3031
- /bin/bash ./.woodpecker/buildRelease.sh

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"types": "dist/index.d.ts",
66
"type": "module",
77
"scripts": {
8-
"build": "tsc && rsync -av --exclude 'node_modules' custom dist/ && npm version patch",
8+
"build": "tsc && rsync -av --exclude 'node_modules' custom dist/",
99
"prepare": "npm link adminforth"
1010
},
1111
"repository": {

0 commit comments

Comments
 (0)