gnome3.updateScript: implement commit feature

This commit is contained in:
Jan Tojnar 2019-04-12 19:37:17 +02:00
parent 1efc042d92
commit 74c1b8deb2
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -21,6 +21,9 @@ let
version_policy="$3"
PATH=${lib.makeBinPath [ common-updater-scripts python ]}
latest_tag=$(python "${./find-latest-version.py}" "$package_name" "$version_policy" "stable" ${upperBoundFlag})
update-source-version "$attr_path" "$latest_tag"
update-source-version "$attr_path" "$latest_tag" --print-changes
'';
in [ updateScript packageName attrPath versionPolicy ]
in {
command = [ updateScript packageName attrPath versionPolicy ];
supportedFeatures = [ "commit" ];
}