Added ability for gitea update script to get either numbered version or alphanumeric version string

This commit is contained in:
Tracey Clark 2019-04-18 19:08:43 -05:00
commit cff31239fc

View file

@ -71,6 +71,8 @@ my $latest_release_hash = decode_json($resp->content);
my $tag = $latest_release_hash->{tag_name};
printf("The latest gitea version is $tag\n");
my $assetsURL = $latest_release_hash->{tag_name};
printf ("!!! Dump of assets URL");
printf Dumper $assetsURL;
if ( $tag gt $gitea_current_version ) {
printf("Proceeding with update\n");