1
0
mirror of https://github.com/msberends/AMR.git synced 2026-05-31 23:01:44 +02:00

Built site for AMR@3.0.1.9055: f7e9294

This commit is contained in:
github-actions
2026-04-30 17:52:11 +00:00
parent 3a3027f171
commit 6fbd9e4b9f
89 changed files with 553 additions and 154 deletions

View File

@@ -191,7 +191,8 @@ string to use:
currenttag=$(git describe --tags --abbrev=0 | sed 's/v//')
currenttagfull=$(git describe --tags --abbrev=0)
defaultbranch=$(git branch | cut -c 3- | grep -E '^master$|^main$')
currentcommit=$(git rev-list --count ${currenttagfull}..${defaultbranch})
git fetch origin ${defaultbranch} --quiet
currentcommit=$(git rev-list --count ${currenttagfull}..origin/${defaultbranch})
currentversion="${currenttag}.$((currentcommit + 9001 + 1))"
echo "$currentversion"
```