Skip to content

Commit

Permalink
Add SetVersion script, bump to 1.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Aug 12, 2024
1 parent 7fafc44 commit ebc784e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
75 changes: 35 additions & 40 deletions Rucksack/Rucksack.csproj
Original file line number Diff line number Diff line change
@@ -1,40 +1,35 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageId>Rucksack</PackageId>
<Version>1.0.0-alpha</Version>
<Title>Rucksack</Title>
<Authors>Paul Irwin, James Blair</Authors>
<Copyright>Copyright (c) feature[23] 2024</Copyright>
<Description>A simple load testing library for .NET.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/feature23/rucksack</PackageProjectUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>load stress test testing</PackageTags>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="Rucksack.Tests"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0"/>
<PackageReference Include="Spectre.Console" Version="0.49.1" />
</ItemGroup>

<ItemGroup>
<None Include="logo.png" Pack="true" PackagePath="\" />
<None Include="../README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageId>Rucksack</PackageId>
<Version>1.0.0-beta</Version>
<Title>Rucksack</Title>
<Authors>Paul Irwin, James Blair</Authors>
<Copyright>Copyright (c) feature[23] 2024</Copyright>
<Description>A simple load testing library for .NET.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/feature23/rucksack</PackageProjectUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>load stress test testing</PackageTags>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<InternalsVisibleTo Include="Rucksack.Tests" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
<PackageReference Include="Spectre.Console" Version="0.49.1" />
</ItemGroup>
<ItemGroup>
<None Include="logo.png" Pack="true" PackagePath="\" />
<None Include="../README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions SetVersion.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
param([Parameter(Mandatory)] $version);

# Requires the dotnet-setversion tool installed:
# dotnet tool install -g dotnet-setversion
setversion $version Rucksack/Rucksack.csproj

0 comments on commit ebc784e

Please sign in to comment.