Code Monkey home page Code Monkey logo

Comments (8)

townsfolk avatar townsfolk commented on May 25, 2024

Looks like you're using an older version of the plugin. Please try this instead:
apply from: 'http://www.tellurianring.com/projects/gradle-plugins/gradle-release/1.2.0.1/apply-1.2.0.1.groovy'

from gradle-release.

townsfolk avatar townsfolk commented on May 25, 2024

Sorry, the installation script wasn't set up correctly - it was set to download version 1.0. If you already tried this, please clear out your gradle cache and try again.

from gradle-release.

johnpfeifer4 avatar johnpfeifer4 commented on May 25, 2024

I'm not quite sure what you mean by clearing the gradle cache... If that means rm -rf ~/.gradle and rm -rf .gradle (in the project directory) then I did that. I'm still seeing that the snapshot versions are the ones that are promoted to my nexus repo.

from gradle-release.

townsfolk avatar townsfolk commented on May 25, 2024

That's what I meant, thanks. :) Can you verify in the gradle cache that you're getting the 1.2.0.1 version of the jar file?

Also, at what stage are you adding uploadArchives?
I'm assuming you did it as described in the README: createReleaseTag.dependsOn uploadArchives

That correct?

Tested this with a mock project: https://sourceforge.net/p/gradlerelease/git

Started with version = 1.2.2-SNAPSHOT. Using the latest dev version of the gradle-release plugin, did a release:
http://tellurianring.com/projects/gradle-plugins/release-test/1.2.2/ivy-1.2.2.xml

from gradle-release.

johnpfeifer4 avatar johnpfeifer4 commented on May 25, 2024

I see the following in my cache....

./caches/artifacts-23/filestore/gradle-release/gradle-release/1.2.0.1/jar
./caches/artifacts-23/filestore/gradle-release/gradle-release/1.2.0.1/jar/be7f1803d8667e3978c8341e17757fe28dfec0a7/gradle-release-1.2.0.1.jar

I should also note that I'm using subversion as well. In addition, I did include the following line from the readme

createReleaseTag.dependsOn uploadArchives

from gradle-release.

townsfolk avatar townsfolk commented on May 25, 2024

Great. Thank you for checking, and the additional info. I will check it out with a subversion project.

from gradle-release.

townsfolk avatar townsfolk commented on May 25, 2024

Hmm. I tested this with a svn project:
https://sourceforge.net/p/gradlerelease/svn

Again started with version 1.0-SNAPSHOT, ran release process and the 1.0 (no snapshot) version was uploaded:
http://tellurianring.com/projects/gradle-plugins/release-test-svn/1.0/ivy-1.0.xml

I was using a local install of the gradle-release plugin (version 1.2.0.2), but the changes are minimal and don't meddle with the process at all.

Still, I pushed 1.2.0.2 out for you if you'd like to try it, change your apply script to this:
apply from: 'http://tellurianring.com/projects/gradle-plugins/gradle-release/1.2.0.2/apply.groovy'

Not sure why the 1.2.0.1 version isn't working for you.

from gradle-release.

townsfolk avatar townsfolk commented on May 25, 2024

Going to consider this closed, if it's still not working for you please re-open it.

from gradle-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.