Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.01 KB

proc_updating-the-devfile-library-schema.adoc

File metadata and controls

35 lines (27 loc) · 1.01 KB

Updating the devfile library schema

To ensure that you develop with the latest code from devfile properties, update the devfile library schema to the latest version.

Procedure
  1. Add execute permissions for everyone on this script:

    $ chmod a+x r./scripts/updateApi.sh
  2. To fetch the latest github.com/devfile/api Go module and to update the schema saved under pkg/devfile/parser/data, enter:

     $ ./scripts/updateApi.sh
  3. Update the devile schema version by running:

    $ ./updateAPI.sh 2.x.x

Note: Running the script this way, with no arguments, updates the devfile to the latest version.

Additional resources