Skip to content

Commit

Permalink
Initial GoReleaser integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
mana-sys committed Feb 4, 2020
1 parent ad1c1f4 commit 63faec2
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 323 deletions.
32 changes: 32 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
before:
hooks:
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/main.go
goos:
- darwin
- linux
- windows
ldflags:
- |
-s -w -X github.com/mana-sys/adhesive/internal/cli/version.Version={{.Version}}
-X github.com/mana-sys/adhesive/internal/cli/version.Commit={{.Commit}}
-X github.com/mana-sys/adhesive/internal/cli/version.Date={{.Date}}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
snapshot:
name_template: '{{ .Tag }}-SNAPSHOT-{{.ShortCommit}}'
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
79 changes: 0 additions & 79 deletions cmd/deploy.go

This file was deleted.

127 changes: 0 additions & 127 deletions cmd/invoke.go

This file was deleted.

116 changes: 0 additions & 116 deletions cmd/local.go

This file was deleted.

11 changes: 10 additions & 1 deletion configs/adhesive.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ region = "us-west-2"
# The AWS profile to use for authentication.
# profile = "dev"


# Default options for the "adhesive deploy" command.
[deploy]
# no-confirm-change-set = false
# no-execute-change-set = false

# The name of the CloudFormation stack being deployed to.
# stack-name = "my-stack"

# The path where your AWS CloudFormation template is located.
# template-file = "template.yml"


# Default options for the "adhesive local" command.
Expand All @@ -15,7 +24,7 @@ region = "us-west-2"
# Default options for the "adhesive package" command.
[package]
# The path where your AWS CloudFormation template is located.
# template-file = "template.yml"
# template-file = "template2.yml"

# The S3 bucket where artifacts will be uploaded.
# s3-bucket = "bucket"
Expand Down

0 comments on commit 63faec2

Please sign in to comment.