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

Bintray #802

Merged
merged 2 commits into from
Jan 13, 2015
Merged

Bintray #802

merged 2 commits into from
Jan 13, 2015

Conversation

kzaitsev
Copy link

This is bintray plugin

publish:
  bintray:
    username: $BINTRAY_USER
    api_key: $BINTRAY_TOKEN
    packages:
      - file: packaging/output/drone.deb
        owner: awesomeorg
        type: deb
        repository: deb
        package: drone
        version: 0.3.0-dev
        target: drone_0.3.0-dev.deb
        distr: main
        component: main
        arch: 
          - amd64
        publish: true
        override: true
      - file: packaging/output/drone.rpm
        owner: awesomeorg
        type: rpm
        repository: rpm
        package: drone
        version: 0.3.0-dev
        target: drone_0.3.0-dev.rpm
        publish: true
        override: true

type can be a deb, rpm, mvn, if not specifed used simple upload like rpm and mvn
debian packages requires distr, component, arch

For upload used this syntax:

https://api.bintray.com/content/:owner/:repository/:package/:version/:target

To this

https://api.bintray.com/content/awesomeorg/deb/drone/0.3.0-dev/drone_0.3.0-dev.deb

About publish, override:

  • publish - by default uploaded package doesn't published, if you need publish on upload you can set publish: true
  • override - if we already publish drone_0.3.0-dev.deb, we can't upload drone_0.3.0-dev.deb second time, we need to enable override, to allow overwrite drone_0.3.0-dev.deb

@kzaitsev
Copy link
Author

Also you can test my test repo

curl -s https://bintray.com/user/downloadSubjectPublicKey?username=awesomeorg | apt-key add -
echo "deb http:https://dl.bintray.com/awesomeorg/deb main main" | sudo tee -a /etc/apt/sources.list.d/drone.list
sudo apt-get update
sudo apt-get install drone

@kzaitsev
Copy link
Author

@bradrydzewski what you think about delete dev from version, drone is not stable and not rc. But major version is zero = unstable.

@bradrydzewski
Copy link

@Bugagazavr I would consider Drone alpha, so perhaps we could do something like this: 0.3.0-alpha

@kzaitsev
Copy link
Author

@bradrydzewski ok

bradrydzewski added a commit that referenced this pull request Jan 13, 2015
@bradrydzewski bradrydzewski merged commit 1627d5f into harness:master Jan 13, 2015
bot-harness pushed a commit that referenced this pull request Nov 15, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants