Permalink
Browse files

identify of vsix patched on build.cmd

  • Loading branch information...
1 parent 2dded34 commit 483b7f9229404ae366e4af8ef627cba76a742653 @Mpdreamz Mpdreamz committed Jun 17, 2016
Showing with 3 additions and 2 deletions.
  1. +2 −1 build.fsx
  2. +1 −1 src/EditorConfig.VisualStudio/source.extension.vsixmanifest
View
@@ -75,10 +75,11 @@ Target "AssemblyInfo" (fun _ ->
(Attribute.Title "EditorConfig.VisualStudio" :: shared)
let manifest = "src/EditorConfig.VisualStudio/source.extension.vsixmanifest"
+ let identity = " <Identity Id=\"EditorConfig..5cd8e6a2-be43-4fcc-a345-40f6cc1e9c9f\" Version=\"" + release.NugetVersion + "\" Language=\"en-US\" Publisher=\"EditorConfig Team\" />"
File.WriteAllLines(
manifest,
File.ReadAllLines manifest
- |> Array.map (fun l -> if l.Contains("<Version>") then sprintf " <Version>%s</Version>" release.NugetVersion else l))
+ |> Array.map (fun l -> if l.Contains("<Identity") then identity else l))
)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
- <Identity Id="EditorConfig..5cd8e6a2-be43-4fcc-a345-40f6cc1e9c9f" Version="0.7.0" Language="en-US" Publisher="EditorConfig Team" />
+ <Identity Id="EditorConfig..5cd8e6a2-be43-4fcc-a345-40f6cc1e9c9f" Version="0.6.0" Language="en-US" Publisher="EditorConfig Team" />
<DisplayName>EditorConfig</DisplayName>
<Description xml:space="preserve">Loads editor options such as indentation sizes from standard, cross-platform .editorconfig files on a per project/solution basis.</Description>
<MoreInfo>http://editorconfig.org/</MoreInfo>

0 comments on commit 483b7f9

Please sign in to comment.