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

"override" attribute does not overrides files, instead appends "?override=1" to name of uploaded files. #133

Closed
AlexWoodblock opened this issue Jul 9, 2016 · 2 comments

Comments

@AlexWoodblock
Copy link

Here is the section of one of my Gradle configuration files.
`Properties properties = new Properties()
properties.load(project.rootProject.file('bintray.properties').newDataInputStream())

bintray {
user = properties.getProperty('bintray.user')
key = properties.getProperty('bintray.apikey')

configurations = ['archives']

publish = true
override = true

pkg {
    repo = 'maven'
    publicDownloadNumbers = true

    name = 'com.woodblockwithoutco.beretained-processor'
    desc = 'BeRetained Processor is used to generate classes that will automatically retain non-parcelable instances on Activity config change.'

    websiteUrl = project.siteUrl
    vcsUrl = project.gitUrl
    issueTrackerUrl = project.gitIssueTrackerUrl

    labels = ['android', 'retained fragment', 'configuration change', 'apt']

    licenses = ['Apache-2.0']

    githubRepo = project.gitRepo
    githubReleaseNotesFile = project.gitReleaseNotes

    version {
        name = project.libVersion
    }
}`

As can be seen here, uploaded files have "?override=1" appended to their names instead of being overwritten.

eyalbe4 pushed a commit that referenced this issue Jul 9, 2016
@eyalbe4
Copy link
Contributor

eyalbe4 commented Jul 9, 2016

@DrBreen,
Thanks for reporting this issue. We've just released version 1.7.1 with a fix. It is available on Bintray and will soon be available on Gradle's Plugins Gallery.

@AlexWoodblock
Copy link
Author

AlexWoodblock commented Jul 9, 2016

Nice to hear! I was afraid it was me doing something wrong, since this is the first time I'm trying to upload something to BinTray.
👍 תודה על תיקון מהר

Addition: I've just tried uploading and I can confirm it works. I guess the issue can be closed now?

labermt added a commit to labermt/IndustrySampler that referenced this issue Jun 13, 2017
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