Skip to content

Commit

Permalink
Include tvm into the astro tarball (#61)
Browse files Browse the repository at this point in the history
This addresses #58.

Changes:

archive -> archives as the latest version of goreleaser only recognize the plural one
add tvm to the goreleaser builds (also add build id otherwise it defaults to project_name)
add note to readme to say that tvm is included
updated changelog
  • Loading branch information
btromanova authored Jan 16, 2020
1 parent 6896e96 commit b80aa3d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
project_name: astro
archive:
format_overrides:
- goos: darwin
format: zip
replacements:
amd64: 64-bit
386: 32-bit
darwin: macOS
archives:
- format_overrides:
- goos: darwin
format: zip
replacements:
amd64: 64-bit
386: 32-bit
darwin: macOS
before:
hooks:
- go mod download
builds:
- binary: astro
- id: astro
binary: astro
main: ./astro/cli/astro/main.go
env:
- GO111MODULE=on
Expand All @@ -20,6 +21,14 @@ builds:
goarch: 386
ldflags:
- -s -w -X github.com/uber/astro/astro/cli/astro/cmd.version={{.Version}} -X github.com/uber/astro/astro/cli/astro/cmd.commit={{.ShortCommit}} -X github.com/uber/astro/astro/cli/astro/cmd.date={{.Date}}
- id: tvm
binary: tvm
main: ./astro/tvm/cli/tvm/main.go
env:
- GO111MODULE=on
ignore:
- goos: darwin
goarch: 386
changelog:
sort: asc
filters:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# astro changelog

## 0.6.0 (January 15, 2020)

### Added
* Add `tvm` binary to astro release

## 0.5.0 (October 3, 2019)

### Added
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ This will install a binary called `astro` in your `$GOPATH/bin`.

Alternatively, you can download precompiled binaries from the [Github releases page](https://github.com/uber/astro/releases).

Note that from version 0.6.0 `tvm`, a tool to download and install specific versions of Terraform for your platforms,
is packaged together with astro.

**Configuration**

Astro looks for a configuration file called `astro.yaml` in the current or parent directories. It is recommended to place this file in the same top-level directory of your project where the Terraform code exists (e.g. `terraform/astro.yaml`).
Expand Down

0 comments on commit b80aa3d

Please sign in to comment.