|
|
|
@ -85,7 +85,7 @@ steps:
|
|
|
|
|
commands:
|
|
|
|
|
- curl -sL https://git.io/goreleaser > goreleaser
|
|
|
|
|
- chmod +x goreleaser
|
|
|
|
|
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --clean
|
|
|
|
|
- ./scripts/version.sh ./goreleaser --snapshot --skip=publish --clean
|
|
|
|
|
- wget https://builds.hrfee.pw/upload.py
|
|
|
|
|
- pip3 install requests
|
|
|
|
|
- bash -c 'sftp -i /id_rsa2 -o StrictHostKeyChecking=no root@161.97.102.153:/mnt/redoc <<< $"put docs/swagger.json jfa-go.json"'
|
|
|
|
@ -164,7 +164,7 @@ steps:
|
|
|
|
|
commands:
|
|
|
|
|
- curl -sL https://git.io/goreleaser > goreleaser
|
|
|
|
|
- chmod +x goreleaser
|
|
|
|
|
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --clean
|
|
|
|
|
- ./scripts/version.sh ./goreleaser --snapshot --skip=publish --clean
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
|
event:
|
|
|
|
|