Altitude ASL Upgrader

Altitude ASL Upgrader is an Altitude command-line tool that updates compiled ASL scripts to the latest Altitude version.

Altitude ASL Upgrader works in the following modes:

  • upgrade: In upgrade mode, Altitude ASL Upgrader connects to the configured Altitude uCI Server and, for the active revision of each published ASL script:
    • If the script is interpreted, upgrade-scripts parses and validates the script.
    • If the script is compiled:
      • If the compiler version is lower than the compiler version of upgrade-scripts, upgrade-scripts classifies the script as compilation needed.
      • If the script source file is in the published ASL script, upgrade-scripts parses, validates, compiles, and publishes the script to the Altitude uCI Server as a new revision.

        Tip

        To include the source file in the published ASL script, see the configuration parameter zipASLSource, in the Script Developer configuration file.

  • check: In check mode, Altitude ASL Upgrader connects to the configured Altitude uCI Server and, for the active revision of each published ASL script:
    • If the script is interpreted, upgrade-scripts parses and validates the script.
    • If the script is compiled:
      • If the compiler version is lower than the compiler version of upgrade-scripts, upgrade-scripts classifies the script as compilation needed.
      • If the script source file is in the published ASL script, upgrade-scripts parses, validates, and compiles the script.
  • If there is an error, upgrade-scripts classifies the script as manual changes needed.