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

Maven release works sucessfully, failure on delete-tag #52

Open
TrueDub opened this issue Mar 21, 2016 · 0 comments
Open

Maven release works sucessfully, failure on delete-tag #52

TrueDub opened this issue Mar 21, 2016 · 0 comments

Comments

@TrueDub
Copy link

TrueDub commented Mar 21, 2016

On executing the task, the upload to Nexus works perfectly, as does the version change in package.json.

However the task then fails when trying to delete the tag with the new version from Git - it doesn't exist, and I'm not sure why it should. Am I doing something wrong? Or is there a way to prevent the tag deletion step? I could force it through, although I'd prefer not to.

My (sanitised) config from Gruntfile.js:

maven: {
            options: {
                groupId: 'com.jim.fred',
                repositoryId: 'nexus',
                gitpush: false,
                gitpushtag: false
            },
            deploy: {
                options: {
                    goal: 'release',
                    url: 'http://user:pwd@nexusmachine.int/content/repositories/releases',
                    mode: 'patch',
                    destFolder: 'jimbo',
                },
                files: [
                    {
                        expand: true,
                        cwd: 'build/',
                        src: ['**']
                    }
                ]
            }
        }
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

1 participant