release process: fix stupid bug for quick/non-quick release
[users/jgh/exim.git] / release-process / scripts / mk_exim_release
index 84f88803012846b4efec7e569bd223c437c0b167..a4111e5664fc1f0716c36f356e1dcb447b717d53 100755 (executable)
@@ -256,8 +256,8 @@ package Context {
 
             #my $stamp = $context->{minor} ? '_'.$context->{minor} : '';
             #$stamp .= $context->{rc} if $context->{rc};
 
             #my $stamp = $context->{minor} ? '_'.$context->{minor} : '';
             #$stamp .= $context->{rc} if $context->{rc};
-            my $release = $context->{v}{rc} ? $context->{v}{target_release}
-                                            : $context->{v}{last_tag};
+            my $release = $context->{quick} ? $context->{v}{last_tag}
+                                            : $context->{v}{target_release};
 
             my $variant =
                   $context->{v}{rc} ? $context->{v}{rc}
 
             my $variant =
                   $context->{v}{rc} ? $context->{v}{rc}