Fix release script, change goreleaser (it runs the script too late)
This commit is contained in:
parent
07013f75de
commit
eb18f8b5d1
@ -1,7 +1,5 @@
|
|||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
# tag and push
|
|
||||||
- ./release_tag.pl
|
|
||||||
# clean up/install modules
|
# clean up/install modules
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
builds:
|
builds:
|
||||||
|
@ -8,7 +8,8 @@ while (my $l = <$fh>) {
|
|||||||
die "could not tag?\n" if $? != 0;
|
die "could not tag?\n" if $? != 0;
|
||||||
system ('git', 'push', 'origin', $tag);
|
system ('git', 'push', 'origin', $tag);
|
||||||
die "could not push tag?\n" if $? != 0;
|
die "could not push tag?\n" if $? != 0;
|
||||||
|
exit 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
die "no version in version/version.go?\n";
|
die "no version in version/version.go?\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user