From b1c541083b5b9c85de317f826f4f23b2c579b68d Mon Sep 17 00:00:00 2001 From: yazninja Date: Sat, 21 May 2022 12:22:31 +0800 Subject: [PATCH] test versioning --- resources/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/version.sh b/resources/version.sh index f374b7e9..5daefd13 100755 --- a/resources/version.sh +++ b/resources/version.sh @@ -4,5 +4,5 @@ LATESTSHA=$(curl -s https://api.github.com/repos/ciderapp/Cider/branches/stable COMMITSINCESTABLE=$(git rev-list $LATESTSHA..HEAD --count) VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1) echo -NEWVERSION=${VERSION/-/.}-$COMMITSINCESTABLE +NEWVERSION=${VERSION/-/.}.$COMMITSINCESTABLE npm version $NEWVERSION \ No newline at end of file