mirror of https://github.com/databricks/cli.git
Fix release action and make sure to also build for Windows (#43)
This commit is contained in:
parent
1ddba0caa8
commit
f309f68444
|
@ -18,17 +18,10 @@ jobs:
|
|||
with:
|
||||
go-version: 1.18
|
||||
cache: true
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: hashicorp/ghaction-import-gpg@v2.1.0
|
||||
env:
|
||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v3.1.0
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
@ -15,12 +15,7 @@ builds:
|
|||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- '386'
|
||||
- arm
|
||||
- arm64
|
||||
ignore:
|
||||
- goos: darwin
|
||||
goarch: '386'
|
||||
binary: '{{ .ProjectName }}_v{{ .Version }}'
|
||||
archives:
|
||||
- format: zip
|
||||
|
@ -30,15 +25,6 @@ checksum:
|
|||
algorithm: sha256
|
||||
snapshot:
|
||||
name_template: '{{ incpatch .Version }}-devel'
|
||||
# signs:
|
||||
# - artifacts: checksum
|
||||
# args:
|
||||
# - "--local-user"
|
||||
# - "{{ .Env.GPG_FINGERPRINT }}"
|
||||
# - "--output"
|
||||
# - "${signature}"
|
||||
# - "--detach-sign"
|
||||
# - "${artifact}"
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
|
|
Loading…
Reference in New Issue