File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ params:
3434  hugo_version : 0.139.4 
3535  pagefind_version : 1.1.1 
3636  latest_version : 2.48.1 
37-   latest_relnote_url : https://raw.github.com/git/git/master/Documentation/RelNotes/2.48.1.txt  
37+   latest_relnote_url : https://raw.github.com/git/git/master/Documentation/RelNotes/2.48.1.adoc  
3838  latest_release_date : ' 2025-01-13' 
3939  macos_installer :
4040    url : https://sourceforge.net/projects/git-osx-installer/files/git-2.33.0-intel-universal-mavericks.dmg/download?use_mirror=autoselect 
Original file line number Diff line number Diff line change 2020config  =  YAML . load_file ( "hugo.yml" ) 
2121config [ "params" ]  =  { }  if  config [ "params" ] . nil? 
2222config [ "params" ] [ "latest_version" ]  =  version 
23- config [ "params" ] [ "latest_relnote_url" ]  =  "https://raw.github.com/git/git/master/Documentation/RelNotes/#{ version }  .txt " 
23+ config [ "params" ] [ "latest_relnote_url" ]  =  "https://raw.github.com/git/git/master/Documentation/RelNotes/#{ version }  .adoc " 
2424config [ "params" ] [ "latest_release_date" ]  =  date . strftime ( "%Y-%m-%d" ) 
2525yaml  =  YAML . dump ( config ) . gsub ( / *$/ ,  "" ) 
2626File . write ( "hugo.yml" ,  yaml ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments