-
Notifications
You must be signed in to change notification settings - Fork 35
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
Set up repositories for publishing releases and snapshots #5
Comments
We have a bintray account, but I don't have the details. I'll set this up once I get the credentials. |
I've been added to our bintray account. The documentation for publishing to bintray is fairly straightforward… https://www.scala-sbt.org/1.x/docs/Bintray-For-Plugins.html |
I've gotten this working. Please evaluate when you have a chance: https://bintray.com/beta/#/openapitools/sbt-plugins/sbt-openapi-generator?tab=overview Bintray doesn't support snapshots, so non-release plugins have a funky looking suffix. I'm thinking about doing an automated monthly "snapshot" build (to reduce cluttering artifacts too much), then a release version build + tag. We can build ad-hoc as well for the "snapshot" releases, but the scala generators change so infrequently. |
I found snapshots supported by some details found in next article https://reflectoring.io/publish-snapshots-with-gradle/ |
Thanks. I wasn't able to sign up for oss.jfrog.org. It seems like they now have a different offering for OSS at https://jfrog.com/artifactory/saas-gcp/. I've requested OSS access here, but the email they respond with refers to a 14 day free trial. I guess we'll see what goes down with that. I think I'll hold off on the 4.3.0 release of the SBT plugin for a couple days, because I'd rather that be synced to JFrog's Artifactory if possible. |
Also, the bintray user interface doesn't have the option to link as the blog post you posted has. I google for other tutorials, which all reference that option. I don't see it in the old or the new UI, and I'm an admin on the project. |
@jimschubert i've checked my repo and i have this button for my repo
|
@jimschubert i've tested snapshot one more time
|
I'll go ahead and release the 4.3.0 version. JFrog never responded about the artifactory hosting, and I'm blocked in usage of Bintray and its cryptic errors and usage. We can always review and change the hosting strategy in the future. |
The UI doesn't allow me to set the github project, it keeps saying it's not found. I've also tried all maturity levels and nothing resolves. I'm an admin on the project. |
@jimschubert here is instruction how to link package to sbt organization and make it available by default resolvers https://www.scala-sbt.org/1.x/docs/Combined+Pages.html#Linking+your+package+to+the+sbt+organization |
Thanks. I'd followed those but seems to be an issue in Bintray since I'm an admin but don't have the option. |
I found the issue why we cannot connect repo to jcenter. It is because Repository "sbt-plugins |
Define which repositories this artefact will be published.
At least, for sbt community it should be published to https://bintray.com/sbt/sbt-plugin-releases, I believe @eed3si9n can help us on it.
The text was updated successfully, but these errors were encountered: