diff --git a/.github/workflows/release-50_publish-docker.yml b/.github/workflows/release-50_publish-docker.yml index 567e996b8fd9..b44d9ab91ca9 100644 --- a/.github/workflows/release-50_publish-docker.yml +++ b/.github/workflows/release-50_publish-docker.yml @@ -229,7 +229,7 @@ jobs: run: | apt update apt show polkadot - version=$(apt show polkadot 2>/dev/null | grep "Version:" | awk '{print $2}') + version=$(apt show polkadot 2>/dev/null | grep "Version:" | awk '{print $2}' | sed 's/-.*//') echo "polkadot_apt_version=v$version" >> $GITHUB_OUTPUT echo "You passed ${{ inputs.version }} but this is ignored" echo "We use the version from the Debian Package: $version"