mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-26 13:00:00 -05:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user