Skip to content

Commit 7194f8d

Browse files
committed
fix: remove previous identical version from local packages after packing
This will prevent me to push outdated package builds...
1 parent 2f8fe9e commit 7194f8d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

JSDevKit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@csmodding/urbandevkit",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"license": "APACHE-2.0",
55
"homepage": "https://discord.gg/SsshDVq2Zj",
66
"repository": "https://github.com/CitiesSkylinesModding/UrbanDevKit",

NetDevKit/NetDevKit.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
library, without causing conflicts.
1515
-->
1616
<AssemblyName>UrbanDevKitV1</AssemblyName>
17-
<Version>0.1.0</Version>
17+
<Version>0.1.1</Version>
1818
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1919

2020
<!-- NuGet package properties -->
@@ -107,6 +107,7 @@
107107
It will put the package in .localnuget which is configured as a source in NuGet.config.
108108
-->
109109
<Target Name="CopyPackage" AfterTargets="Pack">
110+
<RemoveDir Directories="$(SolutionDir)\.localnuget\$(PackageId)\$(PackageVersion)"/>
110111
<Exec Command="nuget add &quot;$(ProjectDir)$(OutputPath)..\$(PackageId).$(PackageVersion).nupkg&quot; -Source &quot;$(SolutionDir)/.localnuget&quot;"/>
111112
</Target>
112113
</Project>

0 commit comments

Comments
 (0)