internal static void UnsetGroupVersion()
 {
     if (HasPackageGroupConfig())
     {
         PackageGroupConfigurationDescription desc = new PackageGroupConfigurationDescription();
         desc.groupVersion    = GetGroupVersion();
         desc.useGroupVersion = false;
         File.WriteAllText(GetGroupConfigFile(), JsonUtility.ToJson(desc));
     }
 }
        internal static void SetGroupVersion(string version)
        {
            if (!IsValidVersion(version))
            {
                throw new System.Exception("Invalid semantic version (major.minor.patch) format");
            }

            PackageGroupConfigurationDescription desc = new PackageGroupConfigurationDescription();

            desc.groupVersion    = version;
            desc.useGroupVersion = true;

            File.WriteAllText(GetGroupConfigFile(), JsonUtility.ToJson(desc));

            VersionMaintainer.UpdateVersionInformation(true);
        }