Skip to content

Commit

Permalink
update to 1.14 (#41)
Browse files Browse the repository at this point in the history
* update to 1.14

* remove 1.12 from travis
  • Loading branch information
onyxraven authored Jun 22, 2020
1 parent 3bd912a commit c9770c8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
30 changes: 10 additions & 20 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ This is a single top-level namespace filled with packages. Each directory is pot

### Go Version

Requires Go `>= 1.12.6`.
Requires Go `>= 1.14`.

1. Install go (currently 1.12)
1. Install go (currently 1.14)

You may want to use a version manager.

- [asdf](https://github.com/kennyp/asdf-golang)

```sh
asdf install golang 1.12.6
asdf install golang 1.14
# use global to update default go version. local set just for current directory
asdf local golang 1.12.6
asdf local golang 1.14
```

- [goenv](https://github.com/syndbg/goenv) is another option.

```sh
goenv install 1.12.6
goenv install 1.14
go version
# go version go1.12.6 darwin/amd64
# go version go1.14 darwin/amd64
```

- [gimme](https://github.com/travis-ci/gimme)
Expand Down Expand Up @@ -64,14 +64,16 @@ go test ./...

## Releasing

This project uses [GoReleaser](https://goreleaser.com/) for builds and releases. Doing the tag/release below triggers the appropriate actions.

1. Preview the release (optional)

You can preview the package changes by running `scripts/release-preview`. This will show a summary of changes since the last release.

1. Prepare the release

```sh
git checkout develop && git pull
git checkout master && git pull
```

Commit and tag with the intended version bump
Expand Down Expand Up @@ -109,19 +111,7 @@ Summary: Given a version number **MAJOR**.**MINOR**.**PATCH**, increment the:
### Godownloader
We use [godownloader](https://github.com/goreleaser/godownloader) to generate the installer scripts.
- for sops, it uses the 'raw repo' method
```sh
godownloader -source raw -repo mozilla/sops -exe sops -nametpl 'sops-{{ .Version }}.{{ .Os }}' > sopsdownload.sh
```
- for sopstool, we can use the goreleaser file
```sh
godownloader -repo Ibotta/sopstool .goreleaser.yml > sopstoolinstall.sh
```
We used to use [godownloader](https://github.com/goreleaser/godownloader) to generate the installer scripts. This is deprecated now, but the majority of the scripts used have not changed in a while. Any fixes will need to be by-hand.
### Common third-party modules in use
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.12.x
- 1.14.x

services:
- docker
Expand Down

0 comments on commit c9770c8

Please sign in to comment.