Skip to content

Commit 288d162

Browse files
committed
publish to public hex
1 parent fd15ff8 commit 288d162

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ jobs:
5151
run: |
5252
mix local.rebar --force
5353
mix local.hex --force
54-
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
5554
mix deps.get
5655
5756
- name: Compile dependencies
@@ -118,7 +117,6 @@ jobs:
118117
run: |
119118
mix local.rebar --force
120119
mix local.hex --force
121-
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
122120
mix deps.get
123121
124122
- name: Compile dependencies
@@ -151,7 +149,7 @@ jobs:
151149
prerelease: false
152150

153151
- name: Publish library
154-
run: mix hex.publish --yes --organization cuatro
152+
run: mix hex.publish --yes
155153
env:
156154
HEX_API_KEY: ${{ secrets.HEX_PUBLISH_KEY }}
157155

.github/workflows/refresh-dev-cache.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ jobs:
7474
run: |
7575
mix local.rebar --force
7676
mix local.hex --force
77-
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
7877
mix deps.get
7978
8079
- name: Compile dependencies

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a
66
Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## 0.1.2 - 2021-02-03
10+
11+
### Fixed
12+
13+
- Published to public hex.pm
14+
- accidentally published initial versions to our private hex
15+
916
## 0.1.1 - 2021-02-03
1017

1118
### Fixed

lib/slipstream/honeycomb/connection.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ defmodule Slipstream.Honeycomb.Connection do
4343
{:noreply, state}
4444
end
4545

46+
@doc false
4647
def handle_event(event, measurements, metadata, _state) do
4748
GenServer.cast(__MODULE__, {event, measurements, metadata})
4849
end
4950

51+
@doc false
5052
@impl GenServer
5153
def handle_cast({event, measurements, metadata}, state) do
5254
{event, measurements, metadata}

mix.exs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
defmodule SlipstreamHoneycomb.MixProject do
22
use Mix.Project
33

4+
@source_url "https://github.com/NFIBrokerage/slipstream_honeycomb"
45
@version_file Path.join(__DIR__, ".version")
56
@external_resource @version_file
67
@version (case Regex.run(~r/^v([\d\.\w-]+)/, File.read!(@version_file),
@@ -28,7 +29,7 @@ defmodule SlipstreamHoneycomb.MixProject do
2829
test_coverage: [tool: ExCoveralls],
2930
package: package(),
3031
description: description(),
31-
source_url: "https://github.com/NFIBrokerage/slipstream_honeycomb",
32+
source_url: @source_url,
3233
name: "SlipstreamHoneycomb",
3334
docs: docs()
3435
]
@@ -60,10 +61,10 @@ defmodule SlipstreamHoneycomb.MixProject do
6061
[
6162
name: "slipstream_honeycomb",
6263
files: ~w(lib .formatter.exs mix.exs README.md .version),
63-
licenses: [],
64-
organization: "cuatro",
64+
licenses: ["Apache-2.0"],
6565
links: %{
66-
"GitHub" => "https://github.com/NFIBrokerage/slipstream_honeycomb"
66+
"GitHub" => @source_url,
67+
"CHANGELOG" => @source_url <> "/blobs/main/CHANGELOG.md"
6768
}
6869
]
6970
end
@@ -74,9 +75,6 @@ defmodule SlipstreamHoneycomb.MixProject do
7475

7576
defp docs do
7677
[
77-
# do you reference other projects in your documentation? if so, add
78-
# them to the :deps key here. for an example, see
79-
# https://github.com/NFIBrokerage/projection/blob/5f406872d00156e2b94cfa9fae8e92a1aa4c177b/mix.exs#L88-L90
8078
deps: [],
8179
extras: [
8280
"CHANGELOG.md"

0 commit comments

Comments
 (0)