Skip to content

Commit

Permalink
Merge pull request geekan#858 from mannaandpoem/dev_update_zip
Browse files Browse the repository at this point in the history
Update zip file
  • Loading branch information
geekan authored Feb 7, 2024
2 parents a9b3098 + fd4df17 commit 344bbd1
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 0 deletions.
Binary file modified tests/data/incremental_dev_project/Gomoku.zip
Binary file not shown.
Binary file modified tests/data/incremental_dev_project/dice_simulator_new.zip
Binary file not shown.
Binary file modified tests/data/incremental_dev_project/number_guessing_game.zip
Binary file not shown.
Binary file modified tests/data/incremental_dev_project/pygame_2048.zip
Binary file not shown.
Binary file modified tests/data/incremental_dev_project/simple_add_calculator.zip
Binary file not shown.
Binary file modified tests/data/incremental_dev_project/snake_game.zip
Binary file not shown.
Binary file modified tests/data/incremental_dev_project/word_cloud.zip
Binary file not shown.
3 changes: 3 additions & 0 deletions tests/metagpt/test_incremental_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ def check_or_create_base_tag(project_path):
# Initialize a Git repository
subprocess.run(["git", "init"], check=True)

# Check if the .gitignore exists. If it doesn't exist, create .gitignore and add the comment
subprocess.run(f"echo # Ignore these files or directories > {'.gitignore'}", shell=True)

# Check if the 'base' tag exists
check_base_tag_cmd = ["git", "show-ref", "--verify", "--quiet", "refs/tags/base"]
if subprocess.run(check_base_tag_cmd).returncode == 0:
Expand Down

0 comments on commit 344bbd1

Please sign in to comment.