Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nethack
neurips-2021-the-nethack-challenge
Commits
8ada025e
Commit
8ada025e
authored
Jun 10, 2021
by
Jyotish P
Browse files
Create tags even when there is nothing to commit
parent
c00e620f
Changes
1
Show whitespace changes
Inline
Side-by-side
utility/submit.sh
View file @
8ada025e
...
...
@@ -53,7 +53,7 @@ setup_commits() {
REMOTE
=
$(
git remote
-v
|
grep
gitlab.aicrowd.com |
head
-1
|
awk
'{print $1}'
)
TAG
=
$(
echo
"
$@
"
|
sed
's/ /-/g'
)
git add
--all
git commit
-m
"Changes for submission-
$TAG
"
git commit
-m
"Changes for submission-
$TAG
"
||
true
git tag
-am
"submission-
$TAG
"
"submission-
$TAG
"
||
(
log_error
"There is another submission with the same description. Please give a different description."
&&
exit
1
)
git push
-f
$REMOTE
master
git push
-f
$REMOTE
"submission-
$TAG
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment