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

how to get the latest snapshot code #119

Closed
magegu opened this issue Jan 4, 2014 · 4 comments
Closed

how to get the latest snapshot code #119

magegu opened this issue Jan 4, 2014 · 4 comments

Comments

@magegu
Copy link

magegu commented Jan 4, 2014

hi guys,

i just want to do a quick follow up on andeamonUser-related issue dicussed here on SO (http://stackoverflow.com/questions/20911269/daemonuser-for-upstart-not-working-in-sbt-native-packager/20914193?noredirect=1#20914193)

Is there any way to use the latest code of the sbt native packager? (maybe though a snapshot repository)?

Thanks

@jsuereth
Copy link
Member

jsuereth commented Jan 5, 2014

You can release a local copy yourself. I'll be cutting a milestone release monday for the new server functionality.

If we do push snapshots, they're fully versioned (by git sha) in the same place as releases.

@jsuereth jsuereth closed this as completed Jan 5, 2014
@magegu
Copy link
Author

magegu commented Jan 5, 2014

thanks @jsuereth for the quick reply and thanks for pushing the milestone release.

I just tried to do a do a publish-local from master but it'll only build a 0.6.3-GITSHA for scala_2.9.2/sbt_0.12/

Any suggestion?

Thanks,
Martin

publish-local
[info] Packaging /Users/magegu/Code/sbt-native-packager/target/scala-2.9.2/sbt-0.12/sbt-native-packager-0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c.jar ...
[info] Done packaging.
[info] :: delivering :: com.typesafe.sbt#sbt-native-packager;0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c :: 0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c :: release :: Sun Jan 05 16:38:14 CET 2014
[info] delivering ivy file to /Users/magegu/Code/sbt-native-packager/target/scala-2.9.2/sbt-0.12/ivy-0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c.xml
[info] published sbt-native-packager to /Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/jars/sbt-native-packager.jar
[info] published sbt-native-packager to /Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/srcs/sbt-native-packager-sources.jar
[info] published sbt-native-packager to /Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/docs/sbt-native-packager-javadoc.jar
[info] published ivy to /Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/ivys/ivy.xml
[success] Total time: 1 s, completed Jan 5, 2014 4:38:14 PM

@jsuereth
Copy link
Member

jsuereth commented Jan 5, 2014

That's what it's supposed to do.

If you want to push a release for sbt 0.13 (I'll document this shortly) do
the following:

sbt> set sbtVersion in Global := "0.13.0"

sbt> set scalaVersion in Global := "2.10.2"

sbt> publish-local

Hopefully that'll give you what you need to try it out!

On Sun, Jan 5, 2014 at 10:46 AM, Martin Guether notifications@github.comwrote:

thank @jsuereth https://github.com/jsuereth for the quick reply and
thanks for pushing it to the release.

I just tried to do a do a publish-local from master but it'll only build a
0.6.3-GITSHA for scala_2.9.2/sbt_0.12/

Any suggestion?

Thanks,
Martin

publish-local
[info] Packaging
/Users/magegu/Code/sbt-native-packager/target/scala-2.9.2/sbt-0.12/sbt-native-packager-0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c.jar
...
[info] Done packaging.
[info] :: delivering ::
com.typesafe.sbt#sbt-native-packager;0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c
:: 0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c :: release :: Sun Jan 05
16:38:14 CET 2014
[info] delivering ivy file to
/Users/magegu/Code/sbt-native-packager/target/scala-2.9.2/sbt-0.12/ivy-0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c.xml
[info] published sbt-native-packager to
/Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/jars/sbt-native-packager.jar
[info] published sbt-native-packager to
/Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/srcs/sbt-native-packager-sources.jar
[info] published sbt-native-packager to
/Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/docs/sbt-native-packager-javadoc.jar
[info] published ivy to
/Users/magegu/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.9.2/sbt_0.12/0.6.3-d9b49e72f407841487754b92a4cd8ebf2b690e6c/ivys/ivy.xml
[success] Total time: 1 s, completed Jan 5, 2014 4:38:14 PM


Reply to this email directly or view it on GitHubhttps://github.com//issues/119#issuecomment-31607142
.

@magegu
Copy link
Author

magegu commented Jan 5, 2014

cool - it worked. thanks again @jsuereth!

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