Skip to content

Commit

Permalink
Merge pull request #12 from Logflare/fix/publish-env-var-clash
Browse files Browse the repository at this point in the history
fix: clashing env var
  • Loading branch information
Ziinc authored Nov 24, 2023
2 parents 14ab744 + 57089fe commit b339a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ex-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: github.event_name == 'push'
env:
HEX_API_KEY: ${{ secrets.HEX_AUTH_TOKEN }}
PRERELEASE_VERSION: dev.${{ env.short_sha }}
LOGFLARE_EX_PRERELEASE_VERSION: dev.${{ env.short_sha }}
- run: mix hex.publish --yes
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
env:
Expand Down
2 changes: 1 addition & 1 deletion logflare-ex/mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule LogflareEx.MixProject do
use Mix.Project

@prerelease System.get_env("PRERELEASE_VERSION")
@prerelease System.get_env("LOGFLARE_EX_PRERELEASE_VERSION")
@version_suffix if(@prerelease, do: "-#{@prerelease}", else: "")
def project do
[
Expand Down

0 comments on commit b339a6b

Please sign in to comment.