diff --git a/GitVersion.yml b/GitVersion.yml new file mode 100644 index 0000000..e92e196 --- /dev/null +++ b/GitVersion.yml @@ -0,0 +1,11 @@ +mode: ContinuousDeployment +branches: + dev(elop)?(ment)?$: + tag: alpha + features?[/-]: + tag: alpha.{BranchName} + mode: ContinuousDelivery + (pull|pull\-requests|pr)[/-]: + mode: ContinuousDelivery + support[/-]: + mode: ContinuousDelivery \ No newline at end of file diff --git a/src/GeekLearning.Storage/Internal/PrivateFileReference.cs b/src/GeekLearning.Storage/Internal/PrivateFileReference.cs index 4e0deb4..7f8fd81 100644 --- a/src/GeekLearning.Storage/Internal/PrivateFileReference.cs +++ b/src/GeekLearning.Storage/Internal/PrivateFileReference.cs @@ -4,7 +4,7 @@ public class PrivateFileReference : IPrivateFileReference { public PrivateFileReference(string path) { - this.Path = path; + this.Path = path.Replace("\\", "/").TrimStart('/'); } public string Path { get; } }