Skip to content

Commit

Permalink
Merge pull request #6 from dadosjusbr/crawler-version
Browse files Browse the repository at this point in the history
crawler version
  • Loading branch information
joellensilva authored Feb 15, 2023
2 parents d42bf82 + 422fb28 commit 5b8ddaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
else:
output_path = "/output"

if "GIT_COMMIT" in os.environ:
crawler_version = os.environ["GIT_COMMIT"]
if "CRAWLER_VERSION" in os.environ:
crawler_version = os.environ["CRAWLER_VERSION"]
else:
crawler_version = "unspecified"

Expand Down

0 comments on commit 5b8ddaa

Please sign in to comment.