File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 6565 echo "tar -xzf sucessful dynamic"
6666 tar -xzf release/${{ env.STATIC_BINARY_NAME }} -C ./output/static
6767 echo "tar -xzf sucessful static"
68+
69+ if [ -f "./output/dynamic/finch-daemon" ]; then
70+ echo "finch-daemon exists in output/dynamic"
71+ ls -l ./output/dynamic/finch-daemon
72+ else
73+ echo "finch-daemon does not exist in output/dynamic"
74+ ls -l ./output/dynamic
75+ fi
76+
77+ echo "Output of finch-daemon --version:"
78+ ./output/dynamic/finch-daemon --version
79+
80+ if command -v grep &> /dev/null; then
81+ echo "grep is available"
82+ VERSION_OUTPUT=$(./output/dynamic/finch-daemon --version)
83+ echo "grep output:"
84+ echo "$VERSION_OUTPUT" | grep -oP '\d+\.\d+\.\d+'
85+ else
86+ echo "grep is not available"
87+ fi
88+
6889 DYNAMIC_BINARY_VERSION=$(./output/dynamic/finch-daemon --version | grep -oP '\d+\.\d+\.\d+')
6990 echo "Dynamic binary version: $DYNAMIC_BINARY_VERSION"
7091 STATIC_BINARY_VERSION=$(./output/static/finch-daemon --version | grep -oP '\d+\.\d+\.\d+')
You can’t perform that action at this time.
0 commit comments