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

How to create release tags without pushing to the remote? #225

Open
azurvii opened this issue May 4, 2022 · 2 comments
Open

How to create release tags without pushing to the remote? #225

azurvii opened this issue May 4, 2022 · 2 comments

Comments

@azurvii
Copy link

azurvii commented May 4, 2022

What I'd like to have is to have an option to make the final task tag local repo, plus whatever else final is doing, but without pushing the tag to the remote.

release.useLastTag=true stops the push, but it skips the tagging as well, which is something I'd like to have.

@EarthCitizen
Copy link

This is also an obstacle for us. We don't have the Git credentials and need to use the command line git push --tags to do it after the tag is created.

@azurvii
Copy link
Author

azurvii commented Jan 1, 2023

I found a hack, with git remote add origin . (. being the root of the git repo). This essentially points the remote origin back to local. With that, gradle final could do tagging without complaints.

Since it modifies the origin remote, I'd assume this would work only for local-only repos.

In any way, a switch from nebula release plugin is preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants