HGInsights / avalanche

Avalanche is an Elixir Snowflake Connector built on top of the Snowflake SQL API v2.
Apache License 2.0
17 stars 3 forks source link

Fix compile issue when the library is used as dependency directly #33

Closed pdgonzalez872 closed 1 year ago

pdgonzalez872 commented 1 year ago

Found this when using the dep directly in a project. Turns out that if you don't have the .version file present, it cries.

Repro steps:

Can also repro if you have avalanche locally and remove the .version file.

Error:

# test project name was `avalanche_version`
==> avalanche_version
Error while loading project :avalanche at /Users/paulo/dev/random/avalanche_version/deps/avalanche
** (File.Error) could not read file "/Users/paulo/dev/random/avalanche_version/deps/avalanche/.version": no such file or directory
    (elixir 1.14.1) lib/file.ex:358: File.read!/1
    /Users/paulo/dev/random/avalanche_version/deps/avalanche/mix.exs:9: (module)
hgdeploy commented 1 year ago

:tada: This PR is included in version 0.11.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: