minor update
This commit is contained in:
@@ -9,6 +9,8 @@ for x in d['data']:
|
|||||||
|
|
||||||
w = open('SkeletonTest.csproj', 'r').read()
|
w = open('SkeletonTest.csproj', 'r').read()
|
||||||
s = w.split('<ItemGroup>')
|
s = w.split('<ItemGroup>')
|
||||||
w = s[0] + '<ItemGroup>\n<PackageReference Include="Skeleton" Version="'+version+'"/>' + s[1]
|
s[1] = '\n<PackageReference Include="Skeleton" Version="'+version+'"/>\n' + s[1]
|
||||||
|
w = '<ItemGroup>'.join(w)
|
||||||
|
print(w)
|
||||||
with open('SkeletonTest.csproj', 'w') as f:
|
with open('SkeletonTest.csproj', 'w') as f:
|
||||||
f.write(w)
|
f.write(w)
|
||||||
Reference in New Issue
Block a user