cbeust / kobalt

A Kotlin-based build system for the JVM.
Apache License 2.0
433 stars 60 forks source link

Upload to Bintray generates warning about duplicate tag #341

Closed ethauvin closed 7 years ago

ethauvin commented 7 years ago
***** WARNING tag 'Tag={
object 8ed92e818c7d44791a0a40e483ddc168cb53e72e
type commit
tag 0.5.2
tagger PersonIdent[Erik C. Thauvin, erik@thauvin.net, Wed Mar 8 11:47:21 2017 -0800]

}' already exists
ethauvin commented 7 years ago

@cbeust If you're going to look at the Bintray API for changes, see if they have a way to set a description for the release. It would be nice to be able to set it in Kobalt.

cbeust commented 7 years ago

They would have to change for every upload, though, correct? Are you thinking about something like

bintray {
  description = "Fix bugs"
}

and modifying this string each time before uploading?

ethauvin commented 7 years ago

Yeah, but most people would just use something like:

bintray {
   description = "$name $version"
}

or the such. On the Bintray website, the description looks more like a title to me.

cbeust commented 7 years ago

I don’t see any description for individual version uploads, even on the web site: https://bintray.com/cbeust/maven/klaxon/0.30

cbeust commented 7 years ago

That's Kobalt attempting to tag your git repo with the project version. Obviously, this will fail if you make multiple uploads without bumping your project version