2018-02-17 16:16:06 +02:00
|
|
|
---
|
|
|
|
title: Deprecation notices
|
|
|
|
---
|
|
|
|
|
|
|
|
This page will be used to list deprecation notices accross GoReleaser.
|
2018-02-17 17:43:29 +02:00
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
Template for new deprecations:
|
|
|
|
|
|
|
|
## property
|
|
|
|
|
|
|
|
> since yyyy-mm-dd
|
|
|
|
|
|
|
|
Description.
|
|
|
|
|
|
|
|
Change this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
```
|
|
|
|
|
|
|
|
to this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
```
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
## fpm
|
|
|
|
|
|
|
|
> since 2018-02-17
|
|
|
|
|
|
|
|
FPM is deprecated in favor of nfpm, which is a simpler alternative written
|
|
|
|
in Go. The objective is to remove the ruby dependency thus simplify the
|
|
|
|
CI/CD pipelines.
|
|
|
|
|
|
|
|
Just replace the `fpm` keyword by `nfpm` in your `goreleaser.yaml` file.
|
|
|
|
|
|
|
|
Change this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
fpm:
|
|
|
|
# ...
|
|
|
|
```
|
|
|
|
|
|
|
|
to this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
nfpm:
|
|
|
|
# ...
|
|
|
|
```
|
|
|
|
|
|
|
|
## docker.name_template
|
|
|
|
|
|
|
|
> since 2018-01-19
|
|
|
|
|
|
|
|
This property was deprecated in favor of the pluralized `name_templates`.
|
|
|
|
The idea is to be able to define several tags instead of just one.
|
|
|
|
|
|
|
|
Change this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
dockers:
|
|
|
|
- image: foo/bar
|
|
|
|
name_template: '{{ .Tag }}'
|
|
|
|
```
|
|
|
|
|
|
|
|
to this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
dockers:
|
|
|
|
- image: foo/bar
|
|
|
|
tag_templates:
|
|
|
|
- '{{ .Tag }}'
|
|
|
|
```
|
|
|
|
|
|
|
|
## docker.latest
|
|
|
|
|
|
|
|
> since 2018-01-19
|
|
|
|
|
|
|
|
The `latest` field in Docker config is deprecated in favor of the newer
|
|
|
|
`tag_templates` field.
|
|
|
|
|
|
|
|
Change this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
dockers:
|
|
|
|
- image: foo/bar
|
|
|
|
latest: true
|
|
|
|
```
|
|
|
|
|
|
|
|
to this:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
dockers:
|
|
|
|
- image: foo/bar
|
|
|
|
tag_templates:
|
|
|
|
- '{{ .Tag }}'
|
|
|
|
- latest
|
|
|
|
```
|