The sp-version program

sp-version /package/admin/foo-1.0
sp-version /package/admin foo 1.0

sp-version atomically creates or updates the current-version symlink for the given package to point to the specified version, if the symlink does not already point to that version. The second invocation form is deprecated.