Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using the same branch and tag name changelogPush fails with Error! Expected OK, got UP_TO_DATE. #54

Open
ghilainm opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ghilainm
Copy link

When I use the same name for both the branch and the tag (e.g., a release branch named 'release/xxx' and a tag named 'release/xxx'), the changelogPush task fails.

Output:
> Task :changelogCheck
push refs/heads/release/xxx to origin https://[MASKED]:[MASKED]@your-git-server.com/your-project.git
  UP_TO_DATE (null)...e818ce24f4ece898ea2c61d955ec7e7823e26d9f
> Task :changelogBump
> Task :changelogPush
push refs/tags/release/xxx to origin https://[MASKED]:[MASKED]@your-git-server.com/your-project.git
  OK 0000000000000000000000000000000000000000...67149b2ae0f2d1c8ac3e2d0802b4bad51938307d fastForward
push refs/tags/release/xxx to origin https://[MASKED]:[MASKED]@your-git-server.com/your-project.git
  UP_TO_DATE (null)...67149b2ae0f2d1c8ac3e2d0802b4bad51938307d
> Task :changelogPush FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':changelogPush'.
> Error! Expected OK, got UP_TO_DATE.
@nedtwigg nedtwigg added the bug Something isn't working label Sep 23, 2024
@nedtwigg
Copy link
Member

PR welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants