Skip to content

Instantly share code, notes, and snippets.

View Trystan4861's full-sized avatar
🏠
Working from home

@̵̩͖͉̒̉̔̂͗̐T̷̛̬̠̘͎̊̅͐͗͘r̴̖͎̫͋y̵̡̪̙͎̝̣̓̊͐̽̕s̶̥̖̦͎̊̈́͋͊̋̇t̵̹̤̓͌̒͜͝ắ̵͕͈̙̠͈̥̑̋̚n̷̛͚̓̔̇4̷̩͎̖̤̥̐8̵̡̟̙̜̒̀̆͆̆̇̓6̷̱͈͎̲̰͔̇1̸̣̥̺̾̀̄͘ Trystan4861

🏠
Working from home
View GitHub Profile
@sbose78
sbose78 / update-version-package.sh
Last active April 11, 2024 19:36
Pre-commit hook to update package.json
#!/bin/bash
set -e
update_version(){
if [[ "$DONT_BUMP_VERSION" -ne "1" ]]
then
echo " Bumping version.. "
else
echo "Version will not be bumped since variable DONT_BUMP_VERSION is set."
exit 0