Skip to content

Commit 62bab21

Browse files
committed
🔖Update version
1 parent 75c50a7 commit 62bab21

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "video-grid-merge"
3-
version = "0.2.24"
3+
version = "0.2.25"
44
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."
55
authors = ["7rikaz"]
66
readme = "README.md"

scripts/create_post-commit.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ create_post_commit() {
66
cat > "$1" << EOF
77
#!/usr/bin/env bash
88
9-
source "$SCRIPT_DIR/.venv/bin/activate"
10-
poetry run python "$SCRIPT_DIR/ci/run_git_tag_base_pyproject.py"
9+
source "$SCRIPT_DIR/../.venv/bin/activate"
10+
poetry run python "$SCRIPT_DIR/../ci/run_git_tag_base_pyproject.py"
1111
if [ \$? -ne 0 ]; then
1212
printf "Error occurred in run_git_tag_base_pyproject.py. Exiting post-commit.\n"
1313
exit 1
@@ -26,16 +26,16 @@ EOF
2626
fi
2727
}
2828

29-
if [ -f "$SCRIPT_DIR/.git/hooks/post-commit" ]; then
30-
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
29+
if [ -f "$SCRIPT_DIR/../.git/hooks/post-commit" ]; then
30+
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
3131
if [[ $choice == "y" || $choice == "Y" ]]; then
32-
create_post_commit "$SCRIPT_DIR/.git/hooks/post-commit.second"
32+
create_post_commit "$SCRIPT_DIR/../.git/hooks/post-commit.second"
3333
exit 0
3434
else
3535
echo "Post-commit script creation canceled."
3636
exit 0
3737
fi
3838
fi
3939

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

0 commit comments

Comments
 (0)