fix versioning for main
This commit is contained in:
parent
43c07b1168
commit
905514225c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SHA_DATE=$(git show -s --format=%ci $STABLE_SHA)
|
SHA_DATE=$(git show -s --format=%ci $STABLE_SHA)
|
||||||
COMMIT_SINCE_STABLE=$(git rev-list $STABLE_SHA..HEAD --count --since="$SHA_DATE")
|
COMMIT_SINCE_STABLE=$((git rev-list $STABLE_SHA..HEAD --count --since="$SHA_DATE" + 1))
|
||||||
CURRENT_VERSION=$(node -p -e "require('./package.json').version")
|
CURRENT_VERSION=$(node -p -e "require('./package.json').version")
|
||||||
|
|
||||||
# Set the version number for commits on main branch
|
# Set the version number for commits on main branch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue