From b97006d2ff375f55e3709e2c2bcdcefa55021193 Mon Sep 17 00:00:00 2001 From: Daniel Olshansky Date: Mon, 15 Jun 2020 21:59:58 -0700 Subject: [PATCH] Package increment instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 965171c..b26a155 100644 --- a/README.md +++ b/README.md @@ -500,5 +500,15 @@ tests set `async: false` so that only one test runs at a time. ## Help Open an issue. +## Publishing New Package Versions +For library maintainers, the following is an example of how to publish new versions of the package. Run the following commands assuming you incremented the version in the `mix.exs` file from 0.3.4 to 0.3.5: + +``` +git commit -am "Increase version from 0.3.4 to 0.3.5" +git tag -a v0.3.5 -m "Git tag 0.3.5" +git push origin --tags +mix hex.publish +``` + ## Suggestions I'd welcome suggestions for improvements or bugfixes. Just open an issue.