The ‘version-script’ keyword has been replaced by `snapcraftctl set-version’
introduced in snapcraft 2.41
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, 8 months ago. Help improve this document in the forum.