Skip to content

Commit

Permalink
quick test
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jan 21, 2025
1 parent 2acd43a commit a9f4d8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
run: |
REPO_URL="https://github.com/getlantern/lantern-client"
git fetch origin
PR_SUMMARY=$(git log e1cb900cc14d8c34b3ef742d622e2a2862f7fe33...HEAD --pretty=format:"%h %s" | grep -E "#[0-9]+" | sed -E 's|#([0-9]+)|[#\1]('"$REPO_URL"'/pull/\1)|')
PR_SUMMARY=$(git log e1cb900cc14d8c34b3ef742d622e2a2862f7fe33q...HEAD --pretty=format:"%h %s" | grep -E "#[0-9]+" | sed -E 's|#([0-9]+)|[#\1]('"$REPO_URL"'/pull/\1)|')
echo "::set-output name=summary::$PR_SUMMARY"
- name: Send Slack Notification
env:
SLACK_WEBHOOK_URL: ${{ secrets.LANTERN_APP_SLACK_RELEASES_WEBHOOK }}
run: |
SLACK_MESSAGE="TEST: *A new release is available!* 🚀\n\n:${{ steps.pr-summary.outputs.summary }}"
echo "$SLACK_MESSAGE"
echo -e "$SLACK_MESSAGE"
# curl -X POST -H 'Content-type: application/json' \
# --data "{\"text\":\"${SLACK_MESSAGE}\"}" $SLACK_WEBHOOK_URL

0 comments on commit a9f4d8e

Please sign in to comment.