Add Unix timestamp to Discord release notification (#619)

Added a Unix timestamp to the release notification for better time representation.
This commit is contained in:
Ritesh Shukla
2025-10-29 23:31:33 +05:30
committed by GitHub
parent 802471a7ed
commit b7444b9158
+2 -1
View File
@@ -80,6 +80,7 @@ platform :ios do
discord_url = ENV["DISCORD_WEBHOOK_URL"] || "N/A"
release_url = ENV["release_url"]
testflight_url = "https://testflight.apple.com/join/etVSc7ZQ"
unix_timestamp = Time.now.to_i
discord_notifier(
webhook_url: ENV["DISCORD_WEBHOOK_URL"],
title: "🎉 App v#{app_version} Released!",
@@ -96,7 +97,7 @@ platform :ios do
},
{
name: "🕒 Released On",
value: Time.now.strftime("%B %d, %Y at %I:%M %p")
value: "<t:#{unix_timestamp}:f>"
},
{
name: "📝 Release Notes",