gnome3.updateScript: implement commit feature
This commit is contained in:
parent
1efc042d92
commit
74c1b8deb2
@ -21,6 +21,9 @@ let
|
|||||||
version_policy="$3"
|
version_policy="$3"
|
||||||
PATH=${lib.makeBinPath [ common-updater-scripts python ]}
|
PATH=${lib.makeBinPath [ common-updater-scripts python ]}
|
||||||
latest_tag=$(python "${./find-latest-version.py}" "$package_name" "$version_policy" "stable" ${upperBoundFlag})
|
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" ];
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user