diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d9ef40..6649875 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,6 @@ jobs: run: | mix local.rebar --force mix local.hex --force - mix hex.organization auth cuatro --key $CUATRO_HEX_KEY mix deps.get - name: Compile dependencies @@ -118,7 +117,6 @@ jobs: run: | mix local.rebar --force mix local.hex --force - mix hex.organization auth cuatro --key $CUATRO_HEX_KEY mix deps.get - name: Compile dependencies @@ -151,7 +149,7 @@ jobs: prerelease: false - name: Publish library - run: mix hex.publish --yes --organization cuatro + run: mix hex.publish --yes env: HEX_API_KEY: ${{ secrets.HEX_PUBLISH_KEY }} diff --git a/.github/workflows/refresh-dev-cache.yml b/.github/workflows/refresh-dev-cache.yml index 4cfb9c6..ae19264 100644 --- a/.github/workflows/refresh-dev-cache.yml +++ b/.github/workflows/refresh-dev-cache.yml @@ -74,7 +74,6 @@ jobs: run: | mix local.rebar --force mix local.hex --force - mix hex.organization auth cuatro --key $CUATRO_HEX_KEY mix deps.get - name: Compile dependencies diff --git a/CHANGELOG.md b/CHANGELOG.md index 07e5b32..1af20c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.1.2 - 2021-02-03 + +### Fixed + +- Published to public hex.pm + - accidentally published initial versions to our private hex + ## 0.1.1 - 2021-02-03 ### Fixed diff --git a/lib/slipstream/honeycomb/connection.ex b/lib/slipstream/honeycomb/connection.ex index 27ad6e4..a6c2d6b 100644 --- a/lib/slipstream/honeycomb/connection.ex +++ b/lib/slipstream/honeycomb/connection.ex @@ -43,10 +43,12 @@ defmodule Slipstream.Honeycomb.Connection do {:noreply, state} end + @doc false def handle_event(event, measurements, metadata, _state) do GenServer.cast(__MODULE__, {event, measurements, metadata}) end + @doc false @impl GenServer def handle_cast({event, measurements, metadata}, state) do {event, measurements, metadata} diff --git a/mix.exs b/mix.exs index 3b4f35f..31b4a1c 100644 --- a/mix.exs +++ b/mix.exs @@ -1,6 +1,7 @@ defmodule SlipstreamHoneycomb.MixProject do use Mix.Project + @source_url "https://github.com/NFIBrokerage/slipstream_honeycomb" @version_file Path.join(__DIR__, ".version") @external_resource @version_file @version (case Regex.run(~r/^v([\d\.\w-]+)/, File.read!(@version_file), @@ -28,7 +29,7 @@ defmodule SlipstreamHoneycomb.MixProject do test_coverage: [tool: ExCoveralls], package: package(), description: description(), - source_url: "https://github.com/NFIBrokerage/slipstream_honeycomb", + source_url: @source_url, name: "SlipstreamHoneycomb", docs: docs() ] @@ -60,10 +61,10 @@ defmodule SlipstreamHoneycomb.MixProject do [ name: "slipstream_honeycomb", files: ~w(lib .formatter.exs mix.exs README.md .version), - licenses: [], - organization: "cuatro", + licenses: ["Apache-2.0"], links: %{ - "GitHub" => "https://github.com/NFIBrokerage/slipstream_honeycomb" + "GitHub" => @source_url, + "CHANGELOG" => @source_url <> "/blobs/main/CHANGELOG.md" } ] end @@ -74,9 +75,6 @@ defmodule SlipstreamHoneycomb.MixProject do defp docs do [ - # do you reference other projects in your documentation? if so, add - # them to the :deps key here. for an example, see - # https://github.com/NFIBrokerage/projection/blob/5f406872d00156e2b94cfa9fae8e92a1aa4c177b/mix.exs#L88-L90 deps: [], extras: [ "CHANGELOG.md"