Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/release-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@
echo "tar -xzf sucessful dynamic"
tar -xzf release/${{ env.STATIC_BINARY_NAME }} -C ./output/static
echo "tar -xzf sucessful static"
if [ -f "./output/dynamic/finch-daemon" ]; then
echo "finch-daemon exists in output/dynamic"
ls -l ./output/dynamic/finch-daemon
else
echo "finch-daemon does not exist in output/dynamic"
ls -l ./output/dynamic
fi
echo "Output of finch-daemon --version:"
./output/dynamic/finch-daemon --version
if command -v grep &> /dev/null; then
echo "grep is available"
VERSION_OUTPUT=$(./output/dynamic/finch-daemon --version)
echo "grep output:"
echo "$VERSION_OUTPUT" | grep -oP '\d+\.\d+\.\d+'
else
echo "grep is not available"
fi
DYNAMIC_BINARY_VERSION=$(./output/dynamic/finch-daemon --version | grep -oP '\d+\.\d+\.\d+')
echo "Dynamic binary version: $DYNAMIC_BINARY_VERSION"
STATIC_BINARY_VERSION=$(./output/static/finch-daemon --version | grep -oP '\d+\.\d+\.\d+')
Expand All @@ -72,7 +89,7 @@
export release_tag=${{ env.RELEASE_TAG }}
export release_version=${release_tag/v/}
echo "Release version: $release_version"

Check failure on line 92 in .github/workflows/release-automation.yaml

View workflow job for this annotation

GitHub Actions / yamllint-lint

92:1 [trailing-spaces] trailing spaces
echo "CUSTOM_RELEASE_VERSION=${release_version}" >> $GITHUB_ENV
echo "CUSTOM_STATIC_BINARY_VERSION=${STATIC_BINARY_VERSION}" >> $GITHUB_ENV
echo "CUSTOM_DYNAMIC_BINARY_VERSION=${DYNAMIC_BINARY_VERSION}" >> $GITHUB_ENV
Expand Down
Loading