Skip to content

Commit

Permalink
fix: prepare for v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Apr 10, 2023
1 parent 44bb77b commit 8842690
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ erl_crash.dump
/release_build
*.so.tar.gz

checksum-*.exs


### Elixir Patch ###

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ all:
$(MAKE) gnu-docker-release NIF_VERSION=$(nif_version); \
$(MAKE) host-release NIF_VERSION=$(nif_version); \
)
@mix rustler_precompiled.download NetCDF.Native --all --print

.PHONY: validate_nif_env
validate_nif_env:
Expand All @@ -67,4 +68,4 @@ host-release: validate_nif_env
RUSTLER_NIF_VERSION=$(NIF_VERSION) MIX_ENV=prod NETCDF_BUILD=true mix release --overwrite --force
mv _build/prod/rel/netcdf/lib/netcdf-$(VERSION)/priv/native/libex_netcdf.so $(NETCDF_SO)
tar -czvf $(NETCDF_SO).tar.gz $(NETCDF_SO)
rm $(NETCDF_SO)
rm $(NETCDF_SO)
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.2.1
6 changes: 4 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule NetCDF.MixProject do
use Mix.Project

@source_url "https://github.com/DockYard/netcdf"
@version File.read!("VERSION")
@version File.read!(Path.join(__DIR__, "VERSION")) |> String.trim()

def project do
[
Expand Down Expand Up @@ -47,7 +47,9 @@ defmodule NetCDF.MixProject do
"lib",
"native",
"mix.exs",
"LICENSE"
"LICENSE",
"VERSION",
"checksum-*.exs"
],
exclude_patterns: [
~r"native(/[^/]+)*/target"
Expand Down

0 comments on commit 8842690

Please sign in to comment.