Skip to content

Commit e4a5377

Browse files
committed
chore: update commands on release action
1 parent 5e86ed5 commit e4a5377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
sudo apt-get update && sudo apt-get install xmlstarlet -y --no-install-recommends
3434
version_prefix=$(xmlstarlet sel -t -v "//Project/PropertyGroup/VersionPrefix" Directory.Build.props)
35-
version_suffix=$(xmlstarlet sel -t -v "//Project/PropertyGroup/VersionSuffix" Directory.Build.props)
35+
version_suffix=$(xmlstarlet sel -t -v "//Project/PropertyGroup/VersionSuffix" Directory.Build.props 2>/dev/null || echo "")
3636
version=$([[ -n "$version_suffix" ]] && echo "$version_prefix-$version_suffix" || echo "$version_prefix")
3737
package_prefix=nethermind-$version-${GITHUB_SHA:0:8}
3838
echo "Detected version $version"

0 commit comments

Comments
 (0)