GithubHelp home page GithubHelp logo

Bintray Multiple Repositories about goxc HOT 2 CLOSED

laher avatar laher commented on August 18, 2024
Bintray Multiple Repositories

from goxc.

Comments (2)

laher avatar laher commented on August 18, 2024

You can use 2 configs and 2 invocations - one for each platform.
For example, the main config can become darwin-only, then a second file
'linux.config.json'.
You'd need to invoke this with goxc -c=linux. Run both together using
goxc -c=linux && goxc.

e.g. linux.goxc.json

{
"BuildConstraints": "linux",
"ConfigVersion": "0.9",
"TaskSettings" : {
"bintray" : {
"repository": "rmq-apt",
"downloadspage": "bintray-debs.md"
}
}
}

It will still inherit the rest of the config from the default
configuration file.

Hope that helps.

On Sat, Aug 2, 2014 at 4:02 PM, Ben Hood [email protected] wrote:

I'd like to use bintray to publish .debs and OSX packages. Right now goxc
is publishing into a generic bintray repo, which works for the OSX packages
using homebrew. Bintray can also automatically generate metadata for
apt-get, provided you denote the target repo as being of type Debian. So I
was wondering if you can configure goxc to publish into multiple repos on
bintray?

For reference, my current JSON config looks like this:

{
"ArtifactsDest": "build",
"Tasks": [
"xc", "package", "bintray"
],
"BuildConstraints": "darwin,linux",
"ConfigVersion": "0.9",
"TaskSettings" : {
"bintray" : {
"package" : "rmq",
"subject": "relops",
"repository": "rmq",
"downloadspage": "bintray.md"
}
}
}


Reply to this email directly or view it on GitHub
#48.

from goxc.

0x6e6562 avatar 0x6e6562 commented on August 18, 2024

Sorry for the delay in getting back to you on this question.

So this variant seems to work well - I was wondering if their is a away to further constraint the build to only build and upload debian artifacts?

from goxc.

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.