Skip to content

Commit

Permalink
Merge pull request #43 from greatexpectationslabs/b/_/bugfix-for-file…
Browse files Browse the repository at this point in the history
…s-to-commit-enum

[BUGFIX] `FILES_TO_COMMIT` correctly uses list comprehnesion to stage files
  • Loading branch information
Shinnnyshinshin authored Jul 26, 2023
2 parents 9ffbd08 + 9d6af52 commit 4b17754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ge_releaser/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def verify_no_untracked_files(self) -> None:
raise ValueError("There are untracked files. Please make sure to run this step with a clean repo.")

def stage_all_and_commit(self, message: str) -> None:
self._git.git.add(FILES_TO_COMMIT)
self._git.git.add([(file_class.name) for file_class in FILES_TO_COMMIT])
self._git.git.commit("-m", message, "--no-verify")

def get_release_timestamp(self, version: str) -> dt.datetime:
Expand Down

0 comments on commit 4b17754

Please sign in to comment.