New packaging way without version redundancy
This commit is contained in:
@@ -83,6 +83,18 @@ package body Alire.Releases is
|
||||
end return;
|
||||
end Replacing;
|
||||
|
||||
---------------
|
||||
-- Retagging --
|
||||
---------------
|
||||
|
||||
function Retagging (Base : Release;
|
||||
Version : Semantic_Versioning.Version) return Release is
|
||||
begin
|
||||
return Upgraded : Release := Base do
|
||||
Upgraded.Version := Version;
|
||||
end return;
|
||||
end Retagging;
|
||||
|
||||
---------------
|
||||
-- Upgrading --
|
||||
---------------
|
||||
|
||||
Reference in New Issue
Block a user