Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f097415

Browse files
committed
v0.10.1 - bug fix git operation and harvey config order
1 parent 24312c0 commit f097415

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## v0.10.1 (2021-04-12)
4+
5+
* 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
6+
37
## v0.10.0 (2021-03-10)
48

59
* Overhaul the `stages` modules, improved code readability and documentation

harvey/pipelines.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def initialize_pipeline(cls, webhook):
1919
and setting up standard logging info
2020
"""
2121
start_time = datetime.now()
22+
# Run git operation first to ensure the config is present and up-to-date
23+
git = Git.update_git_repo(webhook)
2224
config = cls.open_project_config(webhook)
2325

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

40-
git = Git.update_git_repo(webhook)
41-
4242
execution_time = f'Startup execution time: {datetime.now() - start_time}\n'
4343
output = (
4444
f'{preamble}'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setuptools.setup(
1515
name='harvey-ci',
16-
version='0.10.0',
16+
version='0.10.1',
1717
description='Your personal CI/CD and Docker orchestration platform.',
1818
long_description=long_description,
1919
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)