Merge pull request #268 from anultravioletaurora/ritesh/autochangelog

This commit is contained in:
Violet Caulfield
2025-04-20 22:19:47 -05:00
committed by GitHub
2 changed files with 2 additions and 9 deletions

View File

@@ -82,13 +82,7 @@ jobs:
tag: ${{ env.VERSION_NUMBER }}
token: ${{ secrets.SIGNING_REPO_PAT }}
- name: 📝 Generate changelog
id: changelog
uses: agronholm/release-notes@v1
with:
path: CHANGES.rst
- name: 😎 Notify on Discord
@@ -101,5 +95,4 @@ jobs:
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
APP_VERSION: ${{ env.VERSION_NUMBER }}
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
release_url: ${{ steps.githubRelease.outputs.html_url }}

View File

@@ -71,7 +71,7 @@ platform :ios do
lane :notifyOnDiscord do
app_version = ENV["APP_VERSION"] || "N/A"
changelog = ENV["CHANGELOG"] || "N/A"
changelog = sh("git log -n 3 --pretty=format:'• %s (%h) - %an'").split("\n").join("\n")
discord_url = ENV["DISCORD_WEBHOOK_URL"] || "N/A"
release_url = ENV["release_url"]
testflight_url = "https://testflight.apple.com/join/etVSc7ZQ"
@@ -94,7 +94,7 @@ platform :ios do
value: Time.now.strftime("%B %d, %Y at %I:%M %p")
},
{
name: "📝 Changelog",
name: "📝 Recent Commits",
value: "```#{changelog}```"
}
],