Dropping an existing version of an app in an application package

Prerequisites

  • You must have an existing connection in your config.toml file.

  • You must have a snowflake.yml file in your Snowflake Native App project.

How to drop a version definition of an app

The snow app version drop drops the specified app version of an application package, if it exists, and is not referenced by a release directive. If you want to drop a version referenced by a release directive, you must first set that release directive to a different version. This command uses the resolved project definition to determine the name of the application package version to drop.

This command does not allow dropping patches, because Snowflake does not currently support that functionality for a Snowflake Native App.

To drop a version of an existing application package, do the following:

  1. Create a connection, if necessary.

  2. Set the release directive to a different version, if not already done.

  3. Execute the snow app version drop command from within your project, as shown:

    snow app version drop v1 --connection="dev"
    
    Copy
    Version v1 of application package my_app_pkg dropped successfully.
    Version drop is now complete.
    

For more information about dropping a version of an application package, see the snow app version drop command.

Language: English