Skip to content

Commit

Permalink
Added bundle script
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeTravelPenguin committed Jan 15, 2024
1 parent 01fc21c commit 457a0e3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ pyrightconfig.json

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

test audio
.vscode
files
.idea
bundles
bundles/*
!bundles/new_bundle.sh
9 changes: 9 additions & 0 deletions bundles/new_bundle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

time=$(date +%Y-%m-%d_%H-%M-%S)
fname=$SCRIPT_DIR/$time.bundle

echo Creating bundle: $fname
git bundle create $fname --all

0 comments on commit 457a0e3

Please sign in to comment.