diff --git a/CLAUDE.md b/CLAUDE.md index cce4f7a73..566f6de84 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -167,7 +167,8 @@ Then run the following from the repo root to determine the version 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" ``` diff --git a/DESCRIPTION b/DESCRIPTION index 7d2524da3..3c1626582 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 3.0.1.9050 +Version: 3.0.1.9055 Date: 2026-04-30 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 16100de07..a67994555 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 3.0.1.9050 +# AMR 3.0.1.9055 This will become release v3.1.0, intended for launch end of May.