Skip to content

Commit

Permalink
Merge pull request #1416 from ANTsX/fixReleaseTag
Browse files Browse the repository at this point in the history
BUG: Fix check for existing versions, other checks
  • Loading branch information
cookpa committed Aug 23, 2022
2 parents 0476fc7 + c7f8164 commit a537bf3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Utilities/tagRelease.pl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
chomp(@allTags);

foreach my $repoTag (@allTags) {
if ($repoTag == ${tag}) {
if ($repoTag eq ${tag}) {
print "The tag $tag already exists. Exiting \n";
exit(1);
}
Expand Down Expand Up @@ -119,4 +119,5 @@
system("git add Version.cmake");
system("git commit -m \"[skip ci] Updating version for development post $tag\"");
print("\nPushing changed Version.cmake\n");
system("git push origin $masterBranchLabel") == 0
system("git push origin $masterBranchLabel") == 0
or die("Could not update Version.cmake post release");

0 comments on commit a537bf3

Please sign in to comment.