Added ability for gitea update script to get either numbered version or alphanumeric version string
This commit is contained in:
parent
69c89fe712
commit
cff31239fc
1 changed files with 2 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue