Skip to content

Commit dbbb15a

Browse files
committed
Squashed 'bin/' changes from 4c91efb..5614813
5614813 Fix git-tag check for svn-push 0b593ed Fix logic inversion git-subtree-dir: bin git-subtree-split: 5614813
1 parent ca2421d commit dbbb15a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

svn-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ if git show-ref --tags --quiet --verify -- "refs/tags/$plugin_version"; then
6666
has_tag=1
6767
fi
6868

69-
if [ -z "$has_tag" ] && [ -z "$force" ]; then
69+
if [ -n "$has_tag" ] && [ -z "$force" ]; then
7070
echo "Plugin version $plugin_version already tagged. Please bump version and try again, or supply -f"
7171
exit 1
7272
fi
7373

74-
if [ -n "$has_tag" ]; then
74+
if [ -z "$has_tag" ]; then
7575
echo "Tagging plugin version $plugin_version"
7676
git tag "$plugin_version" master
7777
git push origin "$plugin_version"

0 commit comments

Comments
 (0)