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

Automatic relaese process from travis #1148

Closed
7 tasks done
muuki88 opened this issue Aug 24, 2018 · 6 comments
Closed
7 tasks done

Automatic relaese process from travis #1148

muuki88 opened this issue Aug 24, 2018 · 6 comments
Assignees
Labels
project General project issues

Comments

@muuki88
Copy link
Contributor

muuki88 commented Aug 24, 2018

The current release process requires a few manual steps and credentials on my (@muuki88) machine.
In order to allow any maintainer to release native-packager we need to move the process to travis.

sbt-graphql already has such a process. Maybe we can take some hints there as well.

@muuki88 muuki88 added the project General project issues label Aug 24, 2018
@muuki88 muuki88 self-assigned this Aug 24, 2018
@muuki88 muuki88 reopened this Aug 25, 2018
@muuki88 muuki88 reopened this Aug 27, 2018
@muuki88
Copy link
Contributor Author

muuki88 commented Aug 27, 2018

sbt-release fails because of the detached HEAD state of the github repository.
https://travis-ci.org/sbt/sbt-native-packager/jobs/420972225

fatal: ref HEAD is not a symbolic ref
[error] java.lang.RuntimeException: Nonzero exit value: 128
[error] 	at scala.sys.package$.error(package.scala:27)
[error] 	at scala.sys.process.ProcessBuilderImpl$AbstractBuilder.slurp(ProcessBuilderImpl.scala:134)
[error] 	at scala.sys.process.ProcessBuilderImpl$AbstractBuilder.$bang$bang(ProcessBuilderImpl.scala:104)
[error] 	at sbtrelease.Git.currentBranch(Vcs.scala:138)
[error] 	at sbtrelease.Git.trackingRemoteCmd$lzycompute(Vcs.scala:133)
[error] 	at sbtrelease.Git.trackingRemoteCmd(Vcs.scala:133)
[error] 	at sbtrelease.Git.hasUpstream(Vcs.scala:136)
[error] 	at sbtrelease.ReleaseStateTransformations$.$anonfun$checkUpstream$1(ReleaseExtra.scala:215)
[error] 	at sbtrelease.ReleasePlugin$autoImport$ReleaseKeys$.$anonfun$releaseCommand$8(ReleasePlugin.scala:193)

@muuki88
Copy link
Contributor Author

muuki88 commented Aug 28, 2018

Maybe try sbt-release-early or take a look at https://github.com/olafurpg/sbt-ci-release/blob/master/readme.md

@muuki88 muuki88 closed this as completed Sep 9, 2018
@muuki88
Copy link
Contributor Author

muuki88 commented Sep 9, 2018

Done. Documented in the developer guidelines.

@muuki88
Copy link
Contributor Author

muuki88 commented Sep 9, 2018

@dwickern can you try to release a sbt-native-packager version as described in https://github.com/sbt/sbt-native-packager/wiki/Developer-Guide#release-and-publish

@dwickern
Copy link
Collaborator

I pushed a v1.3.8-M15 tag and I can see it published on bintray. Amazing work on this!

@muuki88
Copy link
Contributor Author

muuki88 commented Sep 10, 2018

Awesome 🤩🎉

Now you can release as well 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project General project issues
Projects
None yet
Development

No branches or pull requests

2 participants