Skip to content

Commit

Permalink
Merge branch 'release/v1.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Jul 4, 2024
2 parents 99d4c06 + 239a54c commit c301018
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ runs:
uses: actions/cache@v4
with:
path: ~/.mix
key: ${{ runner.arch }}-icepak-1.0.3
key: ${{ runner.arch }}-icepak-1.0.4

- name: Install Pakman
if: steps.cache-icepak.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix escript.install hex icepak 1.0.3 --force
mix escript.install hex icepak 1.0.4 --force
shell: alpine.sh {0}
env:
MIX_ENV: prod
2 changes: 0 additions & 2 deletions lib/icepak/checks/setup.ex
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ defmodule Icepak.Checks.Setup do
%{status: 201, body: %{"data" => _event}} =
@polar.transition_testing_assessment(polar_client, assessment, %{name: "run"})

:timer.sleep(1000)

client =
Lexdee.create_client(
params.cluster.endpoint,
Expand Down
4 changes: 3 additions & 1 deletion lib/icepak/push.ex
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ defmodule Icepak.Push do

with %{status: 200, body: %{"data" => %{"id" => product_id, "key" => key}}} <-
Polar.get_product(polar_client, product_key),
%{status: 201} <- Polar.create_version(polar_client, product_id, version_params) do
%{status: 201, body: %{"data" => version}} <-
Polar.create_version(polar_client, product_id, version_params),
%{status: 201} <- Polar.transition_version(polar_client, version, %{"name" => "test"}) do
Logger.info("[Push] Sucessfully pushed version #{serial} for #{key}")
else
%{status: 404} ->
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Icepak.MixProject do
def project do
[
app: :icepak,
version: "1.0.3",
version: "1.0.4",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit c301018

Please sign in to comment.