Răsfoiți Sursa

Fix oldness in Rakefile

Antony Male 8 ani în urmă
părinte
comite
810051f549
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      Rakefile

+ 3 - 3
Rakefile

@@ -30,7 +30,7 @@ CHECKSUM_FILE_PRIV_KEY = 'security/private_key.asc'
 
 PFX = ENV['PFX'] || File.join(INSTALLER_DIR, 'SyncTrayzorCA.pfx')
 
-PORTABLE_SYNCTHING_VERSION = '0.12'
+PORTABLE_SYNCTHING_VERSION = 'latest'
 
 class ArchDirConfig
   attr_reader :arch
@@ -51,7 +51,7 @@ class ArchDirConfig
     @installer_iss = File.join(@installer_dir, "installer-#{@arch}.iss")
     @portable_output_dir = "SyncTrayzorPortable-#{@arch}"
     @portable_output_file = File.join(DEPLOY_DIR, "SyncTrayzorPortable-#{@arch}.zip")
-    @syncthing_binaries = { '0.12' => 'syncthing.exe' }
+    @syncthing_binaries = { 'latest' => 'syncthing.exe' }
   end
 
   def sha1sum_download_uri(version)
@@ -63,7 +63,7 @@ class ArchDirConfig
   end
 end
 
-SYNCTHING_VERSIONS_TO_UPDATE = ['0.12']
+SYNCTHING_VERSIONS_TO_UPDATE = ['latest']
 
 ARCH_CONFIG = [ArchDirConfig.new('x64', 'amd64'), ArchDirConfig.new('x86', '386')]
 ASSEMBLY_INFOS = FileList['**/AssemblyInfo.cs']