Comments (8)
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.
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.
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.
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.
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.
Great. Thank you for checking, and the additional info. I will check it out with a subversion project.
from gradle-release.
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.
Going to consider this closed, if it's still not working for you please re-open it.
from gradle-release.
Related Issues (20)
- Leading space inserted for title of pre tag commit HOT 3
- "Extension with name 'release' does not exist" for 3.0.0, Gradle 7.5 and multiproject HOT 1
- Build failing after upgrading to 3.0.0 HOT 3
- Release with protected branch HOT 1
- Update citation files on version change
- Ignoring requireBranch is not possible HOT 4
- Define Release Branch name Template
- 3.0.0 - buildTasks default changed from ['build'] to [] HOT 1
- Releasing doesn't remove "snapshot" from the jar names HOT 4
- :submodule:release stuck at unSnapshotVersion
- Cannot trigger task after release HOT 1
- release does not build HOT 1
- Question: Behavior of plugin while preparing new version commit
- Gradle 9.0: The StartParameter.settingsFile property has been deprecated. HOT 16
- Use updateVersion with args HOT 1
- I have a new idea to incorporate this feature into the plugin for the purpose of using dynamic version dependencies
- Composite build not supported HOT 2
- Failure on releasing jni projects
- Unable to configure releases with protected main branch in Gradle HOT 1
- Failure with Gitlab 16.8.1 (No user exists for uid 503) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-release.