File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- current_build=$( grep -o " <Version>0.2.\(.*\)<\/Version>" ./src/Initium/Initium.csproj | sed ' s/<Version>021 .\(.*\)<\/Version>/\1/' )
3+ current_build=$( grep -o " <Version>0.2.\(.*\)<\/Version>" ./src/Initium/Initium.csproj | sed ' s/<Version>0.2 .\(.*\)<\/Version>/\1/' )
44new_build=$( printf " %d" $(( 10 #$current_build + 1 )) )
5- sed -i " s/<Version>0.2.$current_build <\/Version>/<Version>021 .$new_build <\/Version>/" ./src/Initium/Initium.csproj
5+ sed -i " s/<Version>0.2.$current_build <\/Version>/<Version>0.2 .$new_build <\/Version>/" ./src/Initium/Initium.csproj
66
77# Write the new build to the environment file
88echo " new_build=0.2.$new_build " >> $GITHUB_ENV
Original file line number Diff line number Diff line change 66 <Nullable >enable</Nullable >
77 <AssemblyName >Initium</AssemblyName >
88 <RootNamespace >Initium</RootNamespace >
9- <Version >0.2.1 </Version >
9+ <Version >0.2.2 </Version >
1010 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
1111 <PackageId >Initium</PackageId >
1212 <Title >Initium</Title >
3939 <None Include =" ../../LICENSE.md" Pack =" true" PackagePath =" /" />
4040 <None Include =" logo.png" Pack =" true" PackagePath =" /" />
4141 </ItemGroup >
42+
43+ <ItemGroup >
44+ <Content Include =" ..\..\TODO.txt" >
45+ <Link >TODO.txt</Link >
46+ </Content >
47+ </ItemGroup >
4248</Project >
You can’t perform that action at this time.
0 commit comments