File tree Expand file tree Collapse file tree 4 files changed +10
-16
lines changed
Expand file tree Collapse file tree 4 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,14 @@ jobs:
4747 cd ./wasp-data
4848 git config --global user.name "Wasp Bot"
4949 git config --global user.email "[email protected] " 50- if [[ -n "$(git status --porcelain finders/items/data/hash.txt jsons/gear.json '*.hash')" ]]; then
51- git add finders/items/data/hash.txt
52- git add jsons/gear.json
53- git add '*.hash'
50+ if [[ -n "$(git status --porcelain)" ]]; then
51+ git add -A
5452 CURRENT_DATE=$(date +'%Y.%m.%d')
5553 COMMIT_HASH=$(git rev-parse --short HEAD)
5654 git commit -m "Automatic version bump to $CURRENT_DATE-$COMMIT_HASH"
5755 git push
5856 else
59- echo "No hash changes to commit."
57+ echo "No changes to commit."
6058 fi
6159
6260
Original file line number Diff line number Diff line change @@ -72,14 +72,12 @@ jobs:
7272 cd ./wasp-data
7373 git config --global user.name "Wasp Bot"
7474 git config --global user.email "[email protected] " 75- if [[ -n "$(git status --porcelain jsons/gear.json '*.hash')" ]]; then
76- git add finders/items/data/hash.txt
77- git add jsons/gear.json
78- git add '*.hash'
75+ if [[ -n "$(git status --porcelain)" ]]; then
76+ git add -A
7977 CURRENT_DATE=$(date +'%Y.%m.%d')
8078 COMMIT_HASH=$(git rev-parse --short HEAD)
8179 git commit -m "Automatic version bump to $CURRENT_DATE-$COMMIT_HASH"
8280 git push
8381 else
84- echo "No hash changes to commit."
82+ echo "No changes to commit."
8583 fi
Original file line number Diff line number Diff line change @@ -72,14 +72,12 @@ jobs:
7272 cd ./wasp-data
7373 git config --global user.name "Wasp Bot"
7474 git config --global user.email "[email protected] " 75- if [[ -n "$(git status --porcelain finders/items/data/hash.txt '*.hash')" ]]; then
76- git add finders/items/data/hash.txt
77- git add jsons/gear.json
78- git add '*.hash'
75+ if [[ -n "$(git status --porcelain)" ]]; then
76+ git add -A
7977 CURRENT_DATE=$(date +'%Y.%m.%d')
8078 COMMIT_HASH=$(git rev-parse --short HEAD)
8179 git commit -m "Automatic version bump to $CURRENT_DATE-$COMMIT_HASH"
8280 git push
8381 else
84- echo "No hash changes to commit."
82+ echo "No changes to commit."
8583 fi
Original file line number Diff line number Diff line change 1- dwarf remains
1+ Dwarf remains
22toolkit
33cannonball
44nulodion's notes
You can’t perform that action at this time.
0 commit comments