2021-04-28 05:39:26 +02:00
|
|
|
project_name: dagger
|
|
|
|
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
|
|
|
|
builds:
|
2021-07-19 17:43:45 +02:00
|
|
|
- env:
|
2021-04-28 05:39:26 +02:00
|
|
|
- CGO_ENABLED=0
|
|
|
|
main: ./cmd/dagger
|
2021-04-29 23:27:59 +02:00
|
|
|
binary: dagger
|
|
|
|
ldflags:
|
|
|
|
- -s -w
|
2021-07-19 17:43:45 +02:00
|
|
|
- -X go.dagger.io/dagger/version.Version={{.Version}}
|
|
|
|
- -X go.dagger.io/dagger/version.Revision={{.ShortCommit}}
|
2021-04-28 05:39:26 +02:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
2022-04-03 23:06:26 +02:00
|
|
|
- arm
|
|
|
|
goarm:
|
|
|
|
- 7
|
2021-04-28 05:39:26 +02:00
|
|
|
|
|
|
|
archives:
|
2021-07-19 17:43:45 +02:00
|
|
|
- name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
|
2021-05-01 02:48:58 +02:00
|
|
|
replacements:
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
- examples/**/*
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
2021-04-28 05:39:26 +02:00
|
|
|
|
|
|
|
checksum:
|
2021-07-19 17:43:45 +02:00
|
|
|
name_template: "checksums.txt"
|
2021-04-28 05:39:26 +02:00
|
|
|
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
|
|
|
|
changelog:
|
2022-04-04 13:16:06 +02:00
|
|
|
use: github
|
2021-04-28 05:39:26 +02:00
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
2021-07-19 17:43:45 +02:00
|
|
|
- "^docs:"
|
|
|
|
- "^doc:"
|
|
|
|
- "^test:"
|
|
|
|
- "^tests:"
|
2022-03-29 20:13:03 +02:00
|
|
|
- "^ci:"
|
|
|
|
- "^website:"
|
|
|
|
- "^infra:"
|
|
|
|
- "^build\\(deps\\):"
|
2021-07-19 17:43:45 +02:00
|
|
|
- "^Merge pull request"
|
2021-04-28 05:39:26 +02:00
|
|
|
|
|
|
|
brews:
|
2021-07-19 17:43:45 +02:00
|
|
|
- tap:
|
2021-05-01 02:48:58 +02:00
|
|
|
owner: dagger
|
|
|
|
name: homebrew-tap
|
|
|
|
commit_author:
|
|
|
|
name: dagger-bot
|
|
|
|
email: noreply@dagger.io
|
2021-07-13 21:20:17 +02:00
|
|
|
url_template: "https://dl.dagger.io/dagger/releases/{{ .Version }}/{{ .ArtifactName }}"
|
2021-05-01 02:48:58 +02:00
|
|
|
homepage: "https://github.com/dagger/dagger"
|
|
|
|
description: "Dagger is a programmable deployment system."
|
|
|
|
test: |
|
|
|
|
system "#{bin}/dagger version"
|
2021-05-01 01:32:45 +02:00
|
|
|
|
|
|
|
blobs:
|
2021-07-19 17:43:45 +02:00
|
|
|
- provider: s3
|
2021-05-01 02:48:58 +02:00
|
|
|
region: us-east-1
|
|
|
|
bucket: dagger-io
|
|
|
|
folder: "dagger/releases/{{ .Version }}"
|
2021-05-01 02:16:40 +02:00
|
|
|
|
|
|
|
publishers:
|
2022-03-09 17:10:53 +01:00
|
|
|
- name: publish-latest-version
|
2021-05-01 02:16:40 +02:00
|
|
|
cmd: sh -c "echo {{ .Version }} | aws s3 cp - s3://dagger-io/dagger/latest_version"
|
2021-05-01 02:48:58 +02:00
|
|
|
env:
|
|
|
|
- PATH={{ .Env.PATH }}
|
2021-05-01 21:21:01 +02:00
|
|
|
- AWS_EC2_METADATA_DISABLED=true
|
2021-05-01 21:30:54 +02:00
|
|
|
- AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
|
|
|
|
- AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
- AWS_REGION={{ .Env.AWS_REGION }}
|
2022-03-09 17:10:53 +01:00
|
|
|
- name: publish-latest
|
|
|
|
cmd: sh -c "echo {{ .Version }} | aws s3 cp - s3://dagger-io/dagger/versions/latest"
|
|
|
|
env:
|
|
|
|
- PATH={{ .Env.PATH }}
|
|
|
|
- AWS_EC2_METADATA_DISABLED=true
|
|
|
|
- AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
|
|
|
|
- AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
- AWS_REGION={{ .Env.AWS_REGION }}
|
|
|
|
- name: publish-latest-major-minor
|
|
|
|
cmd: sh -c "echo {{ .Version }} | aws s3 cp - s3://dagger-io/dagger/versions/{{ .Major }}.{{ .Minor }}"
|
|
|
|
env:
|
|
|
|
- PATH={{ .Env.PATH }}
|
|
|
|
- AWS_EC2_METADATA_DISABLED=true
|
|
|
|
- AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
|
|
|
|
- AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
- AWS_REGION={{ .Env.AWS_REGION }}
|
2022-04-04 15:00:37 +02:00
|
|
|
|
|
|
|
release:
|
|
|
|
footer: |
|
|
|
|
**Full Changelog**: https://github.com/dagger/dagger/compare/{{ .PreviousTag }}...{{ .Tag }}
|
|
|
|
## What to do next?
|
|
|
|
- Read the [documentation](https://docs.dagger.io)
|
|
|
|
- Join our [Discord server](https://discord.gg/dagger-io)
|
|
|
|
- Follow us on [Twitter](https://twitter.com/dagger_io)
|