Skip to content

Commit 4c4cc35

Browse files
committed
Fix for version hook
1 parent 1a15715 commit 4c4cc35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/version/increase.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
path="data/version/version.json"
3+
path="./data/version/version.json"
44

5-
old=$(jq ".version" version.json -r)
5+
old=$(jq ".version" $path -r)
66

77
old_release=$(echo $old | cut -d '.' -f 1)
88
old_version=$(echo $old | cut -d '.' -f 2)

data/version/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "0.0.0"
2+
"version": "0.3.3"
33
}

0 commit comments

Comments
 (0)