1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/internal/client
Matthias Baur fd40f5d772
fix(gitlab): Use start_branch for file creation if branch doesn't exist already (#4792)
Creating files on a new branch is only possible with the API if
`start_branch`
is given otherwise the API returns:

> You can only create or edit files when you are on a branch

Fixes https://github.com/goreleaser/goreleaser/issues/4543

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-04-23 09:01:23 -03:00
..
testdata feat: allow to PR homebrew taps (#3903) 2023-04-06 22:58:06 -03:00
client_test.go feat: allow goreleaser to run in gerrit, soft-serve and others (#4271) 2023-09-04 11:23:38 -03:00
client.go feat(winget): sync fork before opening PR 2024-03-26 23:34:15 -03:00
config_test.go feat: publish taps, krews and scoops to regular git repositories (#3961) 2023-04-30 10:18:13 -03:00
config.go feat: publish taps, krews and scoops to regular git repositories (#3961) 2023-04-30 10:18:13 -03:00
git_test.go test: simplify error asserts with require.ErrorContains (#4640) 2024-02-19 16:28:06 -03:00
git.go feat(git): retry git clone on retriable error (#4725) 2024-03-26 23:41:25 -03:00
gitea_test.go test: update gitea tests 2024-04-22 23:40:04 -03:00
gitea.go fix(gitea): changelog output 2024-04-22 23:39:52 -03:00
github_test.go chore(deps): update go-github 2024-04-02 08:22:48 -03:00
github.go fix(release): only change release draft status on new releases (#4744) 2024-04-03 13:56:22 -03:00
gitlab_test.go fix(gitlab): Use start_branch for file creation if branch doesn't exist already (#4792) 2024-04-23 09:01:23 -03:00
gitlab.go fix(gitlab): Use start_branch for file creation if branch doesn't exist already (#4792) 2024-04-23 09:01:23 -03:00
mock.go fix: adjust unused function params in client mock package (#4738) 2024-04-01 10:03:06 -03:00
release_notes_test.go feat: allow to customize release notes update behavior (#2702) 2021-11-26 09:59:15 -03:00
release_notes.go feat: allow to customize release notes update behavior (#2702) 2021-11-26 09:59:15 -03:00