mirror of https://github.com/databricks/cli.git
Address goreleaser deprecation warning (#1872)
## Changes Deprecation of `name_template`: https://goreleaser.com/deprecations#snapshotnametemplate Observed in the "Run GoReleaser" step of https://github.com/databricks/cli/actions/runs/11599180656/job/32296748853. ## Tests * Run `goreleaser check` * The snapshot build on this PR works
This commit is contained in:
parent
a56d082910
commit
79833f0071
|
@ -6,6 +6,15 @@ on:
|
||||||
- "main"
|
- "main"
|
||||||
- "demo-*"
|
- "demo-*"
|
||||||
|
|
||||||
|
# Confirm that snapshot builds work if this file is modified.
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
- reopened
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/release-snapshot.yml"
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -95,7 +95,7 @@ checksum:
|
||||||
algorithm: sha256
|
algorithm: sha256
|
||||||
|
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: '{{ incpatch .Version }}-dev+{{ .ShortCommit }}'
|
version_template: '{{ incpatch .Version }}-dev+{{ .ShortCommit }}'
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
|
|
Loading…
Reference in New Issue