Rename deadlines
This commit is contained in:
parent
378e469859
commit
cb4e98ac04
1 changed files with 0 additions and 0 deletions
13
deadline.sh
Executable file
13
deadline.sh
Executable file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue