After talking with @perylemke, we realized that probably most people
will likely expect it to be called --clean instead of --rm-dist, as its
more similar to the popular `make clean` task.
This adds the --clean flag, and make the --rm-dist one deprecated.
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
* Make sure to do required go mod init before continuing or goreleaser command fails.
* how the release might look like -> what the release might look like
* How does it look like -> What does it look like
* you must therefore -> you must
* Don't use GO111MODULES in example since it's so obsolete
* modules -> verifiable builds
* got you covered -> has you covered
* docs(quickstart): minimum github_token perms
after testing, this is what I found
not sure this is the exact way we should write this but it's a start
* Update www/docs/quick-start.md
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* feat: some little fixes on the webpage
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
* Update www/docs/overrides/home.html
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* feat: Use GitLab Direct Asset Links
Implement the use of Direct Asset Links when uploading artifacts to a GitLab release
* fix: Remove ArtifactUploadHash
As GitLab support for direct asset linking exists, remove ArtifactUploadHash due to it no longer being required
* test: fix unit tests for gitlab urls
* fix: Use artifact name during GitLab upload
file.Name() included the path to the file, which isn't needed and breaks other areas such as homebrew releases
* docs: Require GitLab version v12.9+
Due to newly introduced dependency on direct asset linking
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: Add build command
* feat(cmd/build): Add skip-post-hooks flag
* Update internal/pipeline/pipeline.go
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* docs: enable instant
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: minify html
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: edit uri
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: remove uneeded meta
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* docs: several improvements
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: broken links
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>