Skip to content

Commit

Permalink
🔖Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
7rikazhexde committed Sep 12, 2024
1 parent 431c08b commit 732d5b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "video-grid-merge"
version = "0.2.24"
version = "0.2.25"
description = "This project allows you to use FFmpeg to arrange video files stored in a specified folder in an NxN grid layout and generate the output."
authors = ["7rikaz"]
readme = "README.md"
Expand Down
12 changes: 6 additions & 6 deletions scripts/create_post-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ create_post_commit() {
cat > "$1" << EOF
#!/usr/bin/env bash
source "$SCRIPT_DIR/.venv/bin/activate"
poetry run python "$SCRIPT_DIR/ci/run_git_tag_base_pyproject.py"
source "$SCRIPT_DIR/../.venv/bin/activate"
poetry run python "$SCRIPT_DIR/../ci/run_git_tag_base_pyproject.py"
if [ \$? -ne 0 ]; then
printf "Error occurred in run_git_tag_base_pyproject.py. Exiting post-commit.\n"
exit 1
Expand All @@ -26,16 +26,16 @@ EOF
fi
}

if [ -f "$SCRIPT_DIR/.git/hooks/post-commit" ]; then
read -p "$SCRIPT_DIR/.git/hooks/post-commit already exists. Do you want to create $SCRIPT_DIR/.git/hooks/post-commit.second instead? (y/N): " choice
if [ -f "$SCRIPT_DIR/../.git/hooks/post-commit" ]; then
read -p "$SCRIPT_DIR/../.git/hooks/post-commit already exists. Do you want to create $SCRIPT_DIR/.git/hooks/post-commit.second instead? (y/N): " choice
if [[ $choice == "y" || $choice == "Y" ]]; then
create_post_commit "$SCRIPT_DIR/.git/hooks/post-commit.second"
create_post_commit "$SCRIPT_DIR/../.git/hooks/post-commit.second"
exit 0
else
echo "Post-commit script creation canceled."
exit 0
fi
fi

create_post_commit "$SCRIPT_DIR/.git/hooks/post-commit" "execute"
create_post_commit "$SCRIPT_DIR/../.git/hooks/post-commit" "execute"
exit 0

1 comment on commit 732d5b2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py00100% 
__main__.py1800100% 
delete_files.py130100% 
rename_files.py100100% 
TOTAL2030100% 

Pytest Result Summary (os: ubuntu-latest / python-version: 3.12)

Tests Skipped Failures Errors Time
89 4 💤 0 ❌ 0 🔥 1.688s ⏱️

Please sign in to comment.