diff --git a/.github/workflows/hex-publish.yml b/.github/workflows/hex-publish.yml new file mode 100644 index 0000000..1dcb8be --- /dev/null +++ b/.github/workflows/hex-publish.yml @@ -0,0 +1,16 @@ +on: + push: + tags: + - '*' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Check out + uses: actions/checkout@v2 + + - name: Publish to Hex.pm + uses: erlangpack/github-action@v1 + env: + HEX_API_KEY: ${{ secrets.HEX_API_KEY }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 645eebb..8441fe3 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,5 @@ erl_crash.dump ex_pesa-*.tar config/dev.exs -/.vscode \ No newline at end of file +/.vscode +/.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 7739ff2..9d66488 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ - [x] B2C - [x] B2B - [x] C2B - - [ ] Reversal + - [x] Reversal - [x] Transaction Status - [x] Account Balance - [ ] JengaWS(Equity) @@ -45,7 +45,7 @@ by adding `ex_pesa` to your list of dependencies in `mix.exs`: ```elixir def deps do [ - {:ex_pesa, "~> 0.1.0"} + {:ex_pesa, "~> 0.1.1"} ] end ``` diff --git a/mix.exs b/mix.exs index 3c4b064..c527c6f 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule ExPesa.MixProject do def project do [ app: :ex_pesa, - version: "0.1.0", + version: "0.1.1", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, description: "Payment Library For Most Public Payment API's in Kenya and hopefully Africa.", @@ -34,7 +34,7 @@ defmodule ExPesa.MixProject do defp package do [ name: "ex_pesa", - maintainers: ["Paul Oguda, Magak Emmanuel, Frank Midigo, Tracey Onim"], + maintainers: ["Paul Oguda, Magak Emmanuel, Tracey Onim, Anthony Leiro, Frank Midigo, Evans Okoth "], licenses: ["MIT"], links: %{ "GitHub" => "https://github.com/beamkenya/ex_pesa.git",