nimblehq / elixir-templates

Our optimized Elixir templates used in our projects
https://nimblehq.co
MIT License
86 stars 6 forks source link

Bump to 4.2.1 and Add the bump version helper #219

Closed andyduong1920 closed 2 years ago

andyduong1920 commented 2 years ago

What happened

As the bump version step is kind of similar on each release. Creating a task for it.

Insight

  1. Create 1 Elixir module
  2. Create 1 Elixir task
  3. Run it with mix nimble_template.bump_version xxx

Proof Of Work

I/ The Elixir module

1/ The test is passed

2/ mix help nimble_template.bump_version image

3/ Test the task image

4/ Invalid format

image

II/ Github Action

1/ Invalid case

image

2/ Valid case

image

The demo PR: https://github.com/nimblehq/elixir-templates/pull/224