Fixed the order of arguments to "git tag"

This commit is contained in:
Pierre Pronchery 2014-02-10 01:09:19 +01:00
parent 387518745f
commit 9dab19024d

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
#$Id$ #$Id$
#Copyright (c) 2012-2013 Pierre Pronchery <khorben@defora.org> #Copyright (c) 2012-2014 Pierre Pronchery <khorben@defora.org>
#This file is part of DeforaOS Devel scripts #This file is part of DeforaOS Devel scripts
#This program is free software: you can redistribute it and/or modify #This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by #it under the terms of the GNU General Public License as published by
@ -216,7 +216,7 @@ _release_tag_git()
{ {
tag="$1" tag="$1"
$DEBUG $GIT tag "$tag" -m "$PACKAGE $VERSION" || return 2 $DEBUG $GIT tag -m "$PACKAGE $VERSION" "$tag" || return 2
$DEBUG $GIT push --tags || return 2 $DEBUG $GIT push --tags || return 2
} }