Skip to content

Commit

Permalink
wf: Release Name
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulkhatri137 authored Mar 24, 2023
1 parent 0cf5986 commit 740c835
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/revanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ jobs:
echo "BUILD_LOG<<${DELIM}" >> "$GITHUB_OUTPUT"
cat build.md >> "$GITHUB_OUTPUT"
echo "${DELIM}" >> "$GITHUB_OUTPUT"
cp -f build.md build.tmp
yt_op=$(find build -maxdepth 1 -name "*youtube*" -printf '%P\n')
yt_op=$(cat $GITHUB_OUTPUT | grep "YouTube:" | head -n 1 | cut -d " " -f 2)
if [ -z "$yt_op" ]; then
echo "RELEASE_NAME=ReVanced" >> $GITHUB_OUTPUT
echo "RELEASE_NAME=YouTube ReVanced" >> $GITHUB_OUTPUT
else
echo "RELEASE_NAME=$yt_op" >> $GITHUB_OUTPUT
echo "RELEASE_NAME= YouTube ReVanced v$yt_op" >> $GITHUB_OUTPUT
fi
- name: Upload to release
Expand Down

0 comments on commit 740c835

Please sign in to comment.