Skip to content

Commit

Permalink
add version
Browse files Browse the repository at this point in the history
  • Loading branch information
xupefei committed Sep 2, 2018
1 parent 92b3be0 commit 566dfab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -331,3 +331,4 @@ ASALocalRun/
/*.qlplugin
/GitVersion.cs
/SyncfusionKey.cs
/QuickLook.Plugin.Metadata.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>

<Metadata>
<Namespace>QuickLook.Plugin.OfficeViewer</Namespace>
<Version>0</Version>
<Description>View Word, Excel, and PowerPoint files without Office installation.</Description>
</Metadata>
1 change: 1 addition & 0 deletions QuickLook.Plugin.OfficeViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
<Compile Include="Plugin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SyncfusionControl.cs" />
<None Include="QuickLook.Plugin.Metadata.Base.config" />
<None Include="SyncfusionKey.Example.cs" />
<Compile Include="SyncfusionKey.cs" />
</ItemGroup>
Expand Down
7 changes: 6 additions & 1 deletion Scripts/update-version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ using System.Reflection;
[assembly: AssemblyInformationalVersion("$revision")]
"@

$text | Out-File $PSScriptRoot\..\GitVersion.cs -Encoding utf8
$text | Out-File $PSScriptRoot\..\GitVersion.cs -Encoding utf8


$xml = [xml](Get-Content $PSScriptRoot\..\QuickLook.Plugin.Metadata.Base.config)
$xml.Metadata.Version="$revision"
$xml.Save("$PSScriptRoot\..\QuickLook.Plugin.Metadata.config")

0 comments on commit 566dfab

Please sign in to comment.