Heya

I'm not a fan of this as everyone will have a different steps in their
release process.

Personally I would just write a little shell script (or mix task) to do this.

Cheers,
Louis

On 21 September 2016 at 12:17, Alexsei Matiushkin
<aleksei.matiush...@kantox.com> wrote:
> It would be handy to have a mix task, similar to what rake release does in
> the ruby world
> https://github.com/bundler/bundler/blob/master/lib/bundler/gem_helper.rb#L55
> :
>
> mix.compile
> mix test
> source control commit with tag=CURRENT_VERSION
> mix hex.publish
>
> Everything save for the third item in this list might be easily done with
> shell alias/function, but this beast in the middle literally screws me up:
> sometimes I forget to push a tag, sometimes I forget to update a version,
> etc. It would be really great to implement the functionality that tries
> tests, reads a version from mix.exs, uses it as a tag in commit, publishes
> to hex.pm if everything above succeeded.
>
> I could put some effort in implementing this, but I really need kinda
> feedback on whether it’s needed and—if so—some guidance on how to approach
> it.
>
> Rgds, AM-73
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elixir-lang-core+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/0095086f-2c3d-4dce-9263-c71e72151486%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAM-pwt5DQCck2G6G9B%3D7EMMBOs%3D0rnjjxHcBv%3D9gqXQZ_ynagw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to