Skip to content

Commit a7db0c3

Browse files
authored
Merge pull request #61 from coderbirju/test-2
fix: new test 4
2 parents a68da76 + 64b0e86 commit a7db0c3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release-automation.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,23 @@ jobs:
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+')

0 commit comments

Comments
 (0)