Skip to content

Commit

Permalink
fix: add workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Sep 19, 2023
1 parent 6522a4c commit 2815033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecsact/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ def _ecsact_impl(mctx):

found_ecsact_version = ecsact_version_output.stdout.strip()
if wanted_ecsact_version != None:
if found_ecsact_version != wanted_ecsact_version:
# workaround for https://github.com/ecsact-dev/ecsact_sdk/issues/293
if found_ecsact_version != wanted_ecsact_version and found_ecsact_version != "refs/tags/{}".format(wanted_ecsact_version):
fail("Wanted Ecsact SDK {}, but {} is installed on your system".format(wanted_ecsact_version, found_ecsact_version))

_ecsact_sdk_repository(
Expand Down

0 comments on commit 2815033

Please sign in to comment.