Skip to content

Commit e0e210e

Browse files
committed
chore: 1.6.0 -> 1.7.0 trigger cache update
1 parent 6bee4e3 commit e0e210e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/UnityNuGet/RegistryCache.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ namespace UnityNuGet
3131
public class RegistryCache
3232
{
3333
public static readonly bool IsRunningOnAzure = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME"));
34-
34+
3535
// Change this version number if the content of the packages are changed by an update of this class
36-
private const string CurrentRegistryVersion = "1.6.0";
36+
private const string CurrentRegistryVersion = "1.7.0";
3737

3838
private static readonly Encoding Utf8EncodingNoBom = new UTF8Encoding(false, false);
3939
private readonly string _rootPersistentFolder;
@@ -209,7 +209,7 @@ private async Task BuildInternal()
209209
// Clear the cache entirely
210210
_npmPackageRegistry.Reset();
211211
}
212-
212+
213213
var regexFilter = Filter != null ? new Regex(Filter, RegexOptions.IgnoreCase) : null;
214214
if (Filter != null)
215215
{
@@ -1103,7 +1103,7 @@ private static Guid StringToGuid(string text)
11031103
var hash = SHA1.HashData(inputBytes);
11041104
Array.Copy(hash, 0, guid, 0, guid.Length);
11051105

1106-
// Follow UUID for SHA1 based GUID
1106+
// Follow UUID for SHA1 based GUID
11071107
const int version = 5; // SHA1 (3 for MD5)
11081108
guid[6] = (byte)((guid[6] & 0x0F) | (version << 4));
11091109
guid[8] = (byte)((guid[8] & 0x3F) | 0x80);

0 commit comments

Comments
 (0)