here's an idea: `goreleaser healthcheck`
It'll check if the needed dependencies (docker, git, etc) are available
in the path... this way users can preemptively run it before releasing
or to debug issues.
What do you think?
Here's how it looks like:
<img width="1007" alt="CleanShot 2023-03-02 at 23 24 26@2x"
src="https://user-images.githubusercontent.com/245435/222615682-d9cd0733-d900-43d1-9166-23b2be589b3a.png">
---------
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
The replacements thing was always a bit weird, especially on archives.
We can solve that with templates, so, removing I'm deprecating it.
Also did the same on other places that had it the same feature.
Closes#3588
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
* fix: Change the init-template for snapshot.name_template
* fix: Change the default-template for snapshot.name_template
BREAKIND CHANGE: The default value of `snapshot.name_template` is changed.
Since multiple filenames for the config file are allowed, we find several different usages of the file names in the docs:
- .goreleaser.yml
- goreleaser.yml
- .goreleaser.yaml
- goreleaser.yaml
I find that using a single filename in the docs is more intuitive for new users. Hence I replaced all occurrences of the filename with `.goreleaser.yml`.
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: revert
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: move
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>