1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
CrazyMax
f10873d919
Revert "feat: allow automatic snapshot on dirty state (#1958)" (#1962)
This reverts commit d8a0f253d1.
2020-12-22 11:04:51 -03:00
CrazyMax
d8a0f253d1
feat: allow automatic snapshot on dirty state (#1958)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-22 10:41:08 -03:00
Rico
9423da1b60
docs: unify naming of .goreleaser.yml file (#1955)
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`.
2020-12-20 10:56:00 -03:00
Carlos Alexandro Becker
92f52ac406
refactor(test): use testing.TB Cleanup and Tempdir (#1945)
* refactor: use t.Cleanup instead of defer

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* refactor: use t.Cleanup instead of defer

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* refactor: use t.Cleanup instead of defer

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* refactor: use t.Cleanup instead of defer

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: filepath

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-12 13:27:35 -03:00
Carlos Alexandro Becker
d2f4cb7039 test: __complete and __completeNoDesc
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-27 09:33:19 -03:00
Marc Khouzam
e132922d23
Support __completeNoDesc hidden command (#1922)
The __completeNoDesc command is used by bash to request completion
without any descriptions.  It must be properly supported for
cobra.Command.ValidArgsFunction to work with bash completion.

Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
2020-11-27 08:40:13 -03:00
Carlos Alexandro Becker
cb431595f0 fix: completions on fish
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-26 23:20:04 -03:00
Carlos Alexandro Becker
707639f4d9
fix: improve completions (#1894)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-12 20:25:27 +00:00
dependabot[bot]
27aa6871cb
chore(deps): bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2 (#1882)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.31.0 to 1.32.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.31.0...v1.32.2)

Signed-off-by: dependabot[bot] <support@github.com>

* fix: lint issues

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* refactor: lint issues

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-10 11:15:03 -03:00
Carlos Alexandro Becker
afda24a1e9
feat: add fish completion (#1860)
refs #1858 # #1859

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-16 11:01:36 +00:00
Daniel Helfand
f1bd471526
feat: add shell autocompletion to goreleaser for bash and zsh (#1859) 2020-10-15 16:49:15 -03:00
Carlos Alexandro Becker
65ffbf1921
refactor: replace pkg/errors.Wrap with fmt.Errorf (#1812)
* refactor: remove pkg/errors

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* refactor: remove pkg/errors

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-09-21 17:47:51 +00:00
Mohamed El Bahja
a8e6b21b6c
fix: allow help command (#1800)
* Fix: allow help command.

* add: tests
2020-09-08 15:31:04 -03:00
Carlos Alexandro Becker
da22bf8eb8
feat: use go 1.15 (#1759)
* Update to Go 1.15 image (#1758)

* feat: use go 1.15

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: remove darwin_386

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: Simon Jürgensmeyer <sj14@users.noreply.github.com>
2020-08-16 11:29:44 -03:00
Carlos Alexandro Becker
7186e5b93e
chore(deps): remove tj/assert
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-01 09:43:18 -03:00
Radek Simko
983f342ab8
feat: Add build command (#1520)
* 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>
2020-05-15 11:19:20 -03:00
Carlos Alexandro Becker
9bd0033c09
feat: refactor main.go to spf13/cobra (#1472)
* 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>
2020-04-27 21:42:44 -03:00
Jorin Vogel
195976b032
make goreleaser installable via go get #205
move main.go file to top level
and move go library to goreleaserlib package
2017-04-23 14:22:41 +02:00
Carlos Alexandro Becker
364ad3da45
cleanup 2017-04-21 21:58:59 -03:00
Carlos Alexandro Becker
dc7b9c6852
covered main cli action with tests 2017-04-21 15:25:32 -03:00