release process: fix stupid bug for quick/non-quick release
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Sun, 8 Dec 2019 08:36:29 +0000 (09:36 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Sun, 8 Dec 2019 08:36:29 +0000 (09:36 +0100)
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 $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}