...
- Set a label expression for the dbdef for the REF database. The expression should exclude changes marked with a particular label. For example, the label expression could include a !skip_ref element to mean that when a skip_ref label is found for a changeset, do not deploy the changeset. If the label used to identify the pipeline is "main", then the resulting label expression on the dbdef would be: (main AND !skip_ref)
- Set a label in a metadata.properties file. The label is applied to all changesets generated from scripts in the directory where the metadata.properties file is found. For example, set labels=skip_ref.
- Put a copy of the metadata.properties file in each of the desired script directories used by the project for packaging (for example, ddl, ddl_direct, sql, sql_direct).
- Run Deployment Packager.