mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 19:26:12 +01:00
try to add version to commit msg
This commit is contained in:
parent
c5981cdeb3
commit
0bda9e9997
8
.github/prehooks/pre-commit
vendored
8
.github/prehooks/pre-commit
vendored
@ -121,9 +121,11 @@ fi
|
|||||||
|
|
||||||
# Prepend the version number to the commit message
|
# Prepend the version number to the commit message
|
||||||
if [ -f "$COMMIT_MSG_PATH" ]; then
|
if [ -f "$COMMIT_MSG_PATH" ]; then
|
||||||
# Prepend the version number
|
COMMIT_MSG=$(cat "$COMMIT_MSG_PATH")
|
||||||
echo "(v${currentversion}) ${COMMIT_MSG}" > "$COMMIT_MSG_PATH"
|
echo "Current commit message: $COMMIT_MSG" # Debug line
|
||||||
echo "- prepended version number to commit message"
|
echo "(v${currentversion}) ${COMMIT_MSG}" > "$COMMIT_MSG_PATH"
|
||||||
|
echo "- prepended version number to commit message"
|
||||||
|
echo "Updated commit message: $(cat "$COMMIT_MSG_PATH")" # Debug line
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
echo "Commit message file not found. Unable to prepend version number."
|
echo "Commit message file not found. Unable to prepend version number."
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 2.1.1.9038
|
Version: 2.1.1.9039
|
||||||
Date: 2024-06-04
|
Date: 2024-06-04
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 2.1.1.9038
|
# AMR 2.1.1.9039
|
||||||
|
|
||||||
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support!)*
|
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support!)*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user