Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .super-prerelease-cask-goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -s -X github.com/brimdata/super/cli.version={{ .ShortCommit }}
- '-s -X github.com/brimdata/super/cli.version=v0.0.0-{{ replace (replace (replace (replace .CommitDate "-" "") ":" "") "T" "") "Z" "" }}-{{ .ShortCommit }}'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrismo: Is there a way to use the pseudo-version number generated by the Go tools rather than constructing something similar like this?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i wondered that myself, but didn't dig in on it. I'll do some more research.

goarch:
- amd64
- arm64
Expand All @@ -16,7 +16,7 @@ builds:
- windows
- darwin
archives:
- name_template: "{{ .ProjectName }}-{{ .ShortCommit }}.{{ .Os }}-{{ .Arch }}"
- name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
formats: [ "zip" ]
Expand All @@ -37,10 +37,10 @@ homebrew_casks:
description: |
An analytics database that fuses structured and semi-structured data
url:
template: "https://super-prereleases.s3.us-east-2.amazonaws.com/{{ .ShortCommit }}/{{ .ArtifactName }}"
template: "https://super-prereleases.s3.us-east-2.amazonaws.com/{{ .Version }}/{{ .ArtifactName }}"
checksum:
name_template: 'super-checksums.txt'
snapshot:
version_template: "{{ .ShortCommit }}"
version_template: 'v0.0.0-{{ replace (replace (replace (replace .CommitDate "-" "") ":" "") "T" "") "Z" "" }}-{{ .ShortCommit }}'
changelog:
disable: true