Skip to content

Commit

Permalink
Update version to 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Mar 29, 2022
1 parent b31f6f9 commit d68e932
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.3.1 (2022-03-29)

## 0.3.0-rc (2021-11-14)

* Change shortcut for `--attributes-to-skip` from `-b` to `-A`
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/manual.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Orang Command-Line Tool version 0.3.0.0
Orang Command-Line Tool version 0.3.1.0
Usage: orang [command] [arguments]

Main commands:
Expand Down
2 changes: 1 addition & 1 deletion src/CommandLine/CommandLine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackAsTool>true</PackAsTool>
<ToolCommandName>orang</ToolCommandName>
<PackageId>Orang.DotNet.Cli</PackageId>
<PackageVersion>0.3.0-rc</PackageVersion>
<PackageVersion>0.3.1</PackageVersion>
<Description>Search, replace, rename and delete directories, files and its content using the power of .NET regular expressions.</Description>
<PackageProjectUrl>https://github.com/JosefPihrt/Orang</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand Down
2 changes: 1 addition & 1 deletion src/CommandLine/PackageInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ namespace Orang.CommandLine
{
internal static class PackageInfo
{
public const string Version = "0.3.0-rc";
public const string Version = "0.3.1";
}
}
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project>

<PropertyGroup>
<Version>0.3.0.0</Version>
<Version>0.3.1.0</Version>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)global.ruleset</CodeAnalysisRuleSet>
<LangVersion>9.0</LangVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Orang.snk</AssemblyOriginatorKeyFile>
<Authors>Josef Pihrt</Authors>
<Copyright>Copyright (c) 2019-2021 Josef Pihrt</Copyright>
<Copyright>Copyright (c) 2019-2022 Josef Pihrt</Copyright>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/FileSystem/FileSystem.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<PropertyGroup>
<PackageId>Orang.FileSystem</PackageId>
<PackageVersion>0.3.0-rc</PackageVersion>
<PackageVersion>0.3.1</PackageVersion>
<Description>Search, replace, rename and delete directories, files and its content using the power of .NET regular expressions.</Description>
<PackageProjectUrl>https://github.com/JosefPihrt/Orang</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand Down
7 changes: 3 additions & 4 deletions tools/build.cmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
@echo off

set _programFiles=%ProgramFiles(x86)%
if not defined _programFiles set _programFiles=%ProgramFiles%
set _programFiles=%ProgramFiles%

set _version=0.3.0-rc
set _version=0.3.1

orang replace -e cmd -c "(?<=--version )\d+\.\d+\.\d+(-\w+)?" -r "%_version%"

Expand All @@ -19,7 +18,7 @@ echo.

dotnet restore --force "..\src\Orang.sln"

"%_programFiles%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild" "..\src\Orang.sln" ^
"%_programFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild" "..\src\Orang.sln" ^
/t:Clean,Build ^
/p:Configuration=Release,RunCodeAnalysis=false,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=1591 ^
/nr:false ^
Expand Down
2 changes: 1 addition & 1 deletion tools/reinstall_tool.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ dotnet pack -c Release --no-build -v normal "..\src\CommandLine\CommandLine.cspr

dotnet tool uninstall orang.dotnet.cli -g

dotnet tool install orang.dotnet.cli --version 0.3.0-rc -g --add-source "..\src\CommandLine\bin\Release"
dotnet tool install orang.dotnet.cli --version 0.3.1 -g --add-source "..\src\CommandLine\bin\Release"

pause
2 changes: 1 addition & 1 deletion tools/reinstall_tool_debug.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ dotnet pack -c Debug --no-build -v normal "..\src\CommandLine\CommandLine.csproj

dotnet tool uninstall orang.dotnet.cli -g

dotnet tool install orang.dotnet.cli --version 0.3.0-rc -g --add-source "..\src\CommandLine\bin\Debug"
dotnet tool install orang.dotnet.cli --version 0.3.1 -g --add-source "..\src\CommandLine\bin\Debug"

pause

0 comments on commit d68e932

Please sign in to comment.