Deprecation notice: 10

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.

Last updated 1 year, 5 months ago. Help improve this document in the forum.