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

Simplify release process #76

Closed
loicdescotte opened this issue Nov 16, 2017 · 12 comments
Closed

Simplify release process #76

loicdescotte opened this issue Nov 16, 2017 · 12 comments

Comments

@loicdescotte
Copy link
Contributor

loicdescotte commented Nov 16, 2017

It would be nice to be able to automatically :

  1. deploy to sonatype
  2. update Readme
  3. update REPL script to use the latest version
  4. create git tag
@loicdescotte
Copy link
Contributor Author

for 1. we can start with https://github.com/sbt/sbt-release

@loicdescotte
Copy link
Contributor Author

loicdescotte commented Nov 27, 2017

See also #78

@ggrossetie
Copy link
Contributor

Will you be open to switch to Mill in order to simplify the release process ?

@dgouyette
Copy link
Collaborator

Mill ? can you give more details please ?

@loicdescotte
Copy link
Contributor Author

Personally, I would be totally OK to switch to Mill if it simplifies the artifacts and documentation publishing :)

@ggrossetie
Copy link
Contributor

https://github.com/lihaoyi/mill is a build tool created by Li Haoyi : http://www.lihaoyi.com

Mill can publish to Maven central (built-in capability):
http://www.lihaoyi.com/mill/#deploying-your-code

It's possible to define Cross Scala version and Scala.js modules.
In my opinion, one of the strength of Mill is that it's really straight forward to extend it. To update the README and/or the REPL script you just need to define a function.

However the project is still very young but in active development :)

@ggrossetie
Copy link
Contributor

update Readme

I'm biased because I'm working on Asciidoctor but with AsciiDoc you can define variables.

For instance we could do the following:

= Hamsters
:latest-release: 2.6.0

A mini Scala utility library. Compatible with functional programming beginners. For the JVM and Scala.js.

The latest release is {latest-release}.

So if you want to update the latest version in your document, you just need to change the value of the variable latest-release.
Otherwise you will need to know the previous version or use a crazy Regex 😉

@loicdescotte
Copy link
Contributor Author

Looks nice!

@ggrossetie
Copy link
Contributor

Ok I've started working on this task: https://github.com/scala-hamsters/hamsters/compare/master...Mogztter:mill?expand=1

Not sure (yet) how we should define the modules with js, jvm and shared subfolders.

@loicdescotte
Copy link
Contributor Author

loicdescotte commented May 26, 2018 via email

ggrossetie added a commit to ggrossetie/hamsters that referenced this issue May 27, 2018
* Migrate from sbt to Mill
* (wip) Deploy to sonatyp
* (todo) Publish scaladoc on gh-pages branch
* (todo) Update README
* (todo) Update REPL script to use the latest version
ggrossetie added a commit to ggrossetie/hamsters that referenced this issue May 27, 2018
* Migrate from sbt to Mill
* (wip) Deploy to sonatyp
* (todo) Publish scaladoc on gh-pages branch
* (todo) Update README
* (todo) Update REPL script to use the latest version
@loicdescotte
Copy link
Contributor Author

For the scaladoc, we can use https://www.javadoc.io

@loicdescotte
Copy link
Contributor Author

Removed the scaladoc item. "Update readme" should update the javadoc.io url instead.
Added "create git tag"

loicdescotte added a commit that referenced this issue Dec 3, 2018
Resolves #76, simplify release process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants