mirror of
https://github.com/msberends/AMR.git
synced 2025-07-11 07:01:57 +02:00
(v2.1.1.9041) antibiotics update
This commit is contained in:
4
.github/prehooks/commit-msg
vendored
4
.github/prehooks/commit-msg
vendored
@ -28,7 +28,6 @@
|
||||
# Visit our website for the full manual and a complete tutorial about #
|
||||
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
|
||||
# ==================================================================== #
|
||||
#!/bin/bash
|
||||
|
||||
#######################################
|
||||
# This script runs on commit-msg hook #
|
||||
@ -56,6 +55,3 @@ fi
|
||||
|
||||
# Prepend the version number to the commit message
|
||||
echo "(v${currentversion}) ${COMMIT_MSG}" > "$COMMIT_MSG_FILE"
|
||||
|
||||
# Print the updated commit message for verification
|
||||
echo "Updated commit message: $(cat "$COMMIT_MSG_FILE")"
|
||||
|
7
.github/prehooks/pre-commit
vendored
7
.github/prehooks/pre-commit
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# ==================================================================== #
|
||||
# TITLE: #
|
||||
@ -118,9 +118,4 @@ if [ -e "NEWS.md" ]; then
|
||||
else
|
||||
echo "- no NEWS.md found!"
|
||||
fi
|
||||
|
||||
# set the version number as an environment variable for the commit-msg hook
|
||||
export COMMIT_VERSION=$currentversion
|
||||
echo "- exported COMMIT_VERSION=${currentversion} for the commit-msg hook"
|
||||
|
||||
echo ""
|
||||
|
Reference in New Issue
Block a user