|
|
@ -9,7 +9,7 @@ steps:
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- git fetch --tags
|
|
|
|
- git fetch --tags
|
|
|
|
- name: release
|
|
|
|
- name: release
|
|
|
|
image: golang:latest
|
|
|
|
image: hrfee/jfa-go-build-docker:latest
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: ssh_key
|
|
|
|
- name: ssh_key
|
|
|
|
path: /id_rsa
|
|
|
|
path: /id_rsa
|
|
|
@ -19,11 +19,6 @@ steps:
|
|
|
|
GITHUB_TOKEN:
|
|
|
|
GITHUB_TOKEN:
|
|
|
|
from_secret: github_token
|
|
|
|
from_secret: github_token
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- apt-get update -y
|
|
|
|
|
|
|
|
- apt-get install build-essential python3-pip curl software-properties-common sed upx gcc libgtk-3-dev libappindicator3-dev gcc-mingw-w64-x86-64 -y
|
|
|
|
|
|
|
|
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
|
|
|
|
|
|
|
- apt-get install nodejs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- curl -sL https://git.io/goreleaser > ../goreleaser
|
|
|
|
- curl -sL https://git.io/goreleaser > ../goreleaser
|
|
|
|
- chmod +x ../goreleaser
|
|
|
|
- chmod +x ../goreleaser
|
|
|
|
- ./scripts/version.sh ../goreleaser
|
|
|
|
- ./scripts/version.sh ../goreleaser
|
|
|
@ -81,15 +76,11 @@ type: docker
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
- name: build
|
|
|
|
image: golang:latest
|
|
|
|
image: hrfee/jfa-go-build-docker:latest
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: ssh_key
|
|
|
|
- name: ssh_key
|
|
|
|
path: /id_rsa
|
|
|
|
path: /id_rsa
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- apt-get update -y
|
|
|
|
|
|
|
|
- apt-get install build-essential python3-pip curl software-properties-common sed upx gcc libgtk-3-dev libappindicator3-dev gcc-mingw-w64-x86-64 -y
|
|
|
|
|
|
|
|
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
|
|
|
|
|
|
|
- apt-get install nodejs
|
|
|
|
|
|
|
|
- curl -sL https://git.io/goreleaser > goreleaser
|
|
|
|
- curl -sL https://git.io/goreleaser > goreleaser
|
|
|
|
- chmod +x goreleaser
|
|
|
|
- chmod +x goreleaser
|
|
|
|
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
|
|
|
|
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
|
|
|
|