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 fc969b3 commit 0a85000
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/prerelease-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4


- name: Get Last Tag
id: last-tag
run: |
git fetch --depth=100 origin
LAST_TAG=$(git describe --tags --abbrev=0)
echo "Last tag: $LAST_TAG"
echo "::set-output name=last_tag::$LAST_TAG"
- name: Generate PR Summary
id: pr-summary
run: |
REPO_URL="https://github.com/getlantern/lantern-client"
git fetch --depth=100 origin
LAST_TAG=${{ steps.last-tag.outputs.last_tag }}
PR_SUMMARY=$(git log $LAST_TAG...HEAD --pretty=format:"%h %s" | grep -E "#[0-9]+" | sed -E 's|#([0-9]+)|[#\1]('"$REPO_URL"'/pull/\1)|')
PR_SUMMARY=$(git log atavism/android-7.9.10...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
Expand Down

0 comments on commit 0a85000

Please sign in to comment.