Deprecation notice: 10


#1

The ‘version-script’ keyword has been replaced by `snapcraftctl set-version’

introduced in snapcraft 2.41

The version-script keyword could be used to define a command to run from the working directory of the source tree root that printed a version string to the standard output.

This functionality has been replaced by the snapcraftctl set-version part scriptlet.

For more details, see Part scriptlets.

See Deprecation notices for further announcements.


Deprecation notices
Snap documentation
Snapcraft.yaml reference