File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222 run : |
2323 sudo apt-get update && sudo apt-get install xmlstarlet -y --no-install-recommends
2424 version_prefix=$(xmlstarlet sel -t -v "//Project/PropertyGroup/VersionPrefix" Directory.Build.props)
25- version_suffix=$(xmlstarlet sel -t -v "//Project/PropertyGroup/VersionSuffix" Directory.Build.props)
25+ version_suffix=$(xmlstarlet sel -t -v "//Project/PropertyGroup/VersionSuffix" Directory.Build.props 2>/dev/null || echo "" )
2626 version=$([[ -n "$version_suffix" ]] && echo "$version_prefix-$version_suffix" || echo "$version_prefix")
2727 echo "Detected version $version"
2828 echo "PACKAGE_PREFIX=nethermind-$version-${GITHUB_SHA:0:8}" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 66 <SourceDateEpoch >$(SOURCE_DATE_EPOCH)</SourceDateEpoch >
77 <SourceDateEpoch Condition =" '$(SourceDateEpoch)' == ''" >$([System.DateTimeOffset]::UtcNow.ToUnixTimeSeconds())</SourceDateEpoch >
88 <VersionPrefix >1.35.1</VersionPrefix >
9- <VersionSuffix >rc </VersionSuffix >
9+ <VersionSuffix ></VersionSuffix >
1010 </PropertyGroup >
1111
1212 <ItemGroup Label =" AssemblyCustomMetadata" >
You can’t perform that action at this time.
0 commit comments