Skip to content

Commit

Permalink
v0.10.1 - bug fix git operation and harvey config order
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Apr 13, 2021
1 parent 24312c0 commit f097415
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.10.1 (2021-04-12)

* Fixes a bug for brand new repos that weren't yet cloned not being able to read the harvey configuration due to bad ordering of operations

## v0.10.0 (2021-03-10)

* Overhaul the `stages` modules, improved code readability and documentation
Expand Down
4 changes: 2 additions & 2 deletions harvey/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def initialize_pipeline(cls, webhook):
and setting up standard logging info
"""
start_time = datetime.now()
# Run git operation first to ensure the config is present and up-to-date
git = Git.update_git_repo(webhook)
config = cls.open_project_config(webhook)

if SLACK:
Expand All @@ -37,8 +39,6 @@ def initialize_pipeline(cls, webhook):
f'\nCommit made on repo: {Global.repo_full_name(webhook)}.'
)

git = Git.update_git_repo(webhook)

execution_time = f'Startup execution time: {datetime.now() - start_time}\n'
output = (
f'{preamble}'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setuptools.setup(
name='harvey-ci',
version='0.10.0',
version='0.10.1',
description='Your personal CI/CD and Docker orchestration platform.',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit f097415

Please sign in to comment.