Kaynağa Gözat

Merge pull request #7090 from thalesmg/fix-use-tags-in-deps

fix(deps): use tags for dependencies
Thales Macedo Garitezi 4 yıl önce
ebeveyn
işleme
3d19e77f00
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 2 2
      apps/emqx/rebar.config.script
  2. 1 1
      rebar.config.erl

+ 2 - 2
apps/emqx/rebar.config.script

@@ -19,8 +19,8 @@ IsQuicSupp = fun() ->
                     )
              end,
 
-Bcrypt = {bcrypt, {git, "https://github.com/emqx/erlang-bcrypt.git", {branch, "0.6.0"}}},
-Quicer = {quicer, {git, "https://github.com/emqx/quic.git", {branch, "0.0.9"}}},
+Bcrypt = {bcrypt, {git, "https://github.com/emqx/erlang-bcrypt.git", {tag, "0.6.0"}}},
+Quicer = {quicer, {git, "https://github.com/emqx/quic.git", {tag, "0.0.9"}}},
 
 ExtraDeps = fun(C) ->
                 {deps, Deps0} = lists:keyfind(deps, 1, C),

+ 1 - 1
rebar.config.erl

@@ -30,7 +30,7 @@ assert_otp() ->
     end.
 
 bcrypt() ->
-    {bcrypt, {git, "https://github.com/emqx/erlang-bcrypt.git", {branch, "0.6.0"}}}.
+    {bcrypt, {git, "https://github.com/emqx/erlang-bcrypt.git", {tag, "0.6.0"}}}.
 
 quicer() ->
     {quicer, {git, "https://github.com/emqx/quic.git", {tag, "0.0.9"}}}.