File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-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+ if [ -f "./output/dynamic/finch-daemon" ]; then
69+ echo "finch-daemon exists in output/dynamic"
70+ ls -l ./output/dynamic/finch-daemon
71+ else
72+ echo "finch-daemon does not exist in output/dynamic"
73+ ls -l ./output/dynamic
74+ fi
75+ echo "Output of finch-daemon --version:"
76+ ./output/dynamic/finch-daemon --version
77+ if command -v grep &> /dev/null; then
78+ echo "grep is available"
79+ VERSION_OUTPUT=$(./output/dynamic/finch-daemon --version)
80+ echo "grep output:"
81+ echo "$VERSION_OUTPUT" | grep -oP '\d+\.\d+\.\d+'
82+ else
83+ echo "grep is not available"
84+ fi
6885 DYNAMIC_BINARY_VERSION=$(./output/dynamic/finch-daemon --version | grep -oP '\d+\.\d+\.\d+')
6986 echo "Dynamic binary version: $DYNAMIC_BINARY_VERSION"
7087 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