diff --git a/deadlines.sh b/deadlines.sh new file mode 100755 index 0000000..65d6ff1 --- /dev/null +++ b/deadlines.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -eu + +read -p "Enter a name for the exercise (used for tag name): " exercise_name + +read -p "Are you sure you want to create a new tag? This will cause a new tag to be created in each student project and run JPlag on the solutions. [N/y]: " cont + +if [ ${cont} == 'y' ] || [ ${cont} == 'Y' ] +then + git tag "${exercise_name}" + git push --tag +fi