Skip to content

Commit eeb8af0

Browse files
committed
use shared props version
1 parent 63d16bd commit eeb8af0

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish-dev-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: version
2424
shell: pwsh
2525
run: |
26-
$base_version = dotnet msbuild .\src\CommonLib\SharpHoundCommonLib.csproj --getProperty:Version
26+
$base_version = dotnet msbuild Directory.Build.props --getProperty:Version
2727
$date_stamp = Get-Date -Format 'yyyyMMddHHmm'
2828
"dev_version=$base_version-dev.$date_stamp" >> $env:GITHUB_OUTPUT
2929

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<Project>
2+
<PropertyGroup>
3+
<Version>4.6.0</Version>
4+
</PropertyGroup>
25
<ItemGroup>
36
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
47
<_Parameter1>CommonLibTest</_Parameter1>

src/CommonLib/SharpHoundCommonLib.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<PackageDescription>Common library for C# BloodHound enumeration tasks</PackageDescription>
1010
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
1111
<RepositoryUrl>https://github.com/BloodHoundAD/SharpHoundCommon</RepositoryUrl>
12-
<Version>4.6.0</Version>
1312
<AssemblyName>SharpHoundCommonLib</AssemblyName>
1413
<RootNamespace>SharpHoundCommonLib</RootNamespace>
1514
</PropertyGroup>

src/SharpHoundRPC/SharpHoundRPC.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<Company>SpecterOps</Company>
99
<PackageDescription>SAM/LSA Wrapper for C# BloodHound tasks</PackageDescription>
1010
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
11-
<Version>4.6.0</Version>
1211
<AssemblyName>SharpHoundRPC</AssemblyName>
1312
<RootNamespace>SharpHoundRPC</RootNamespace>
1413
</PropertyGroup>

0 commit comments

Comments
 (0)