Skip to content

Commit

Permalink
Fixed critical unix linker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenchristoffer committed May 22, 2020
1 parent 7f980b7 commit 577d3f8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Mklinker/Mklinker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<PackAsTool>true</PackAsTool>
<ToolCommandName>mklinker</ToolCommandName>
<Version>2.1.1</Version>
<Version>2.1.2</Version>
<Title>Mklinker</Title>
<Description>Mklinker is a cross-platform console utility that let's you create multiple symbolic / junction / hard links at once based on a portable config file</Description>
<RepositoryType>git</RepositoryType>
Expand Down
6 changes: 3 additions & 3 deletions Mklinker/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.1.0")]
[assembly: AssemblyFileVersion("2.1.1.0")]
[assembly: AssemblyInformationalVersion("2.1.1")]
[assembly: AssemblyVersion("2.1.2.0")]
[assembly: AssemblyFileVersion("2.1.2.0")]
[assembly: AssemblyInformationalVersion("2.1.2")]
[assembly: InternalsVisibleTo("Mklinker.Tests")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
2 changes: 1 addition & 1 deletion Mklinker/UnixLinker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class UnixLinker : ILinker {
FileName = "ln",
Arguments = $"\"{ resolvedSourcePath }\"" +
$" \"{ resolvedTargetPath }\"" +
$" \"{ GetLinkTypeArgument(fileSystem, linkType, resolvedSourcePath) }\"",
$" { GetLinkTypeArgument(fileSystem, linkType, resolvedSourcePath) }",
RedirectStandardOutput = true,
RedirectStandardError = true,
UseShellExecute = false
Expand Down
10 changes: 5 additions & 5 deletions publish.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ dotnet restore
cd Mklinker
dotnet pack

dotnet publish -r win-x64 -c Release -o bin/Mklinker-2.1.1-Win64 /p:PublishSingleFile=true
dotnet publish -r win-x86 -c Release -o bin/Mklinker-2.1.1-Win32 /p:PublishSingleFile=true
dotnet publish -r win-x64 -c Release -o bin/Mklinker-2.1.2-Win64 /p:PublishSingleFile=true
dotnet publish -r win-x86 -c Release -o bin/Mklinker-2.1.2-Win32 /p:PublishSingleFile=true

dotnet publish -r linux-x64 -c Release -o bin/Mklinker-2.1.1-Linux64 /p:PublishSingleFile=true
dotnet publish -r linux-arm -c Release -o bin/Mklinker-2.1.1-LinuxARM /p:PublishSingleFile=true
dotnet publish -r linux-x64 -c Release -o bin/Mklinker-2.1.2-Linux64 /p:PublishSingleFile=true
dotnet publish -r linux-arm -c Release -o bin/Mklinker-2.1.2-LinuxARM /p:PublishSingleFile=true

dotnet publish -r osx-x64 -c Release -o bin/Mklinker-2.1.1-OSX64 /p:PublishSingleFile=true
dotnet publish -r osx-x64 -c Release -o bin/Mklinker-2.1.2-OSX64 /p:PublishSingleFile=true
pause

0 comments on commit 577d3f8

Please sign in to comment.