[video] NDC Conf – Web Development in 2020 – Steve Sanderson
vimeo.com1 pointsby Gazler0 comments
Try stuff
Another prototype
Fix something
...
Revert prototype
It is fairly common (in my experience) for the contributor to be asked to squash those commits. test string: "fix(User): ensure email address is required"
format: "%{type}(%{scope}): %{description}"
[type: "fix", scope: "User", description: "ensure email address is required"]
So any literal characters are matched exactly and anything inside the capturing %{...} is assigned to that variable. "fix():(User): ensure email address is required"
"%{type}(%{scope}): %{description}"
[type: "fix", scope: "):(User", description: "ensure email address is required"]
It is certainly a candidate for improvement in the future. test string: "Fixes #1234: foo"
format: "%{type} #%{scope}: %{description}"
[type: "Fixes", scope: "1234", description: "foo"]
Using a hyphen as a separator: test string: "Fixes #1234 - foo"
format: "%{type} #%{scope} - %{description}"
[type: "Fixes", scope: "1234", description: "foo"]
I hope this makes sense, let me know if you get it working!
The master version of Elixir also has support for releases https://hexdocs.pm/mix/master/Mix.Tasks.Release.html