Explorar el Código

fix release url format

tags/v1.1.4
Jonathan Cobb hace 4 años
padre
commit
5a93f4d38d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      bubble-server/src/main/java/bubble/service/packer/PackerJob.java

+ 2
- 2
bubble-server/src/main/java/bubble/service/packer/PackerJob.java Ver fichero

@@ -313,13 +313,13 @@ public class PackerJob implements Callable<List<PackerImage>> {
final String version = packerService.getSoftwareVersion(roleName);
vars.put(roleName, version);

final String hash = url2string(releaseUrlBase+"/"+version+"/"+roleName+".zip.sha256").trim();
final String hash = url2string(releaseUrlBase+"/"+roleName+"/"+version+"/"+roleName+".zip.sha256").trim();
String varsData = roleName+"_sha256 : '"+hash+"'\n"
+ roleName+"_version : '" + version + "'\n";

if (roleName.equals(ROLE_ALGO)) {
// capture dnscrypt_proxy version for algo
final String dnscryptVersion = url2string(releaseUrlBase+"/"+version+"/dnscrypt-proxy_version.txt");
final String dnscryptVersion = url2string(releaseUrlBase+"/"+roleName+"/"+version+"/dnscrypt-proxy_version.txt");
varsData += "dnscrypt_version : '"+dnscryptVersion+"'";
vars.put(ROLE_DNSCRYPT, dnscryptVersion);
}


Cargando…
Cancelar
Guardar