Skip to content

Commit

Permalink
Merge branch 'release/v0.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Feb 26, 2024
2 parents f9515f3 + 9b6e167 commit c464eaa
Show file tree
Hide file tree
Showing 3 changed files with 3 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-0.1.2
key: ${{ runner.arch }}-icepak-0.1.3

- 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 0.1.2 --force
mix escript.install hex icepak 0.1.3 --force
shell: alpine.sh {0}
env:
MIX_ENV: prod
3 changes: 0 additions & 3 deletions lib/icepak/upload.ex
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,8 @@ defmodule Icepak.Upload do
parts =
item.source
|> File.stream!([], @chunk_size)
|> Stream.chunk_every(@chunk_size)
|> Stream.with_index(1)
|> Enum.map(fn {chunk, i} ->
chunk = Enum.join(chunk)

Logger.info("[Upload] Starting part #{i} of #{item.path}")

{:ok, nil, %{headers: headers, status_code: 200}} =
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: "0.1.2",
version: "0.1.3",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit c464eaa

Please sign in to comment.