def addCurrentRelease(self, resourceName, outputIndent=""):

    # Fetch the name resource's "current" release
    currentReleaseName = self.getCurrentReleaseName(resourceName)
    if currentReleaseName == '':
      self.error.noCurrentReleaseAvailable(resourceName)
      return False

    # Add named release
    if not self.addRelease(resourceName, currentReleaseName, outputIndent): return False

    # Make a symlink-ed directory "current" that points to release's directory
    currentDir = self.resourcesPath % resourceName + "/current"
    releaseDir = self.resourcesPath + resourceName + "/" + currentReleaseName

    # If there is already a symbolic link, remove it.
    if os.path.exists(currentDir): os.unlink(currentDir)
    os.symlink(releaseDir, currentDir)
    
    # Update settings & return success
    self.userSettings["resources"][resourceName]["isTracking"] = True
    self.userSettings["resources"][resourceName]["current"]    = currentReleaseName
    return True

  # Add a named release for a named resource
dataset/ETHPy150Open gkno/gkno_launcher/src/gkno/adminUtils.py/adminUtils.addCurrentRelease/operator `+` -> `%`