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

expose RPM file created #445

Closed
nefilim opened this issue Dec 19, 2014 · 2 comments
Closed

expose RPM file created #445

nefilim opened this issue Dec 19, 2014 · 2 comments
Labels

Comments

@nefilim
Copy link
Contributor

nefilim commented Dec 19, 2014

I can't find a way to reference the created RPM package. In my particular use case I need it for uploading with the S3 plugin (https://github.com/sbt/sbt-s3):

mappings in upload := Seq((new java.io.File("target/rpm/RPMS/noarch/voyager-0.7.3-1.noarch.rpm"), "voyager/voyager-0.7.3-1.noarch.rpm")),

admittedly, my sbt knowledge is minimal :)

@muuki88 muuki88 added the rpm label Dec 20, 2014
@muuki88
Copy link
Contributor

muuki88 commented Dec 20, 2014

Take a look at the scala-dist project, which handles rpm upload with s3 as well.
For a version with the current sbt-native-packager look at this pull request: scala/scala-dist#142

@nefilim
Copy link
Contributor Author

nefilim commented Dec 20, 2014

very nice thank you!

comes down to:

(packageBin in Rpm).value 

@nefilim nefilim closed this as completed Dec 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants