Skip to content

Commit f39d9c9

Browse files
Update telegram.md (#3433)
* Update telegram.md * Update content/yaml-notification/telegram.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8c4c0e8 commit f39d9c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/yaml-notification/telegram.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ android-workflow:
5353
ARTIFACT_URL=$(echo $CM_ARTIFACT_LINKS | jq -r '.[] | select(.name | endswith(".aab")) | .url')
5454

5555
# Set the expiration timestamp for the public URL (3 days from now)
56-
expiration_timestamp=$(date -v+3d +%s)
56+
expiration_timestamp=$(date -v+3d +%s) # use expiration_timestamp=$(date -d "+3 days" +%s) for Linux
5757

5858
# Create a public download URL for the artifact
5959
response=$(curl -s -H "Content-Type: application/json" \
@@ -67,4 +67,4 @@ android-workflow:
6767
curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \
6868
-d chat_id="$TELEGRAM_CHAT_ID" \
6969
-d text="Here is the public URL for the .aab file: $public_url"
70-
{{< /highlight >}}
70+
{{< /highlight >}}

0 commit comments

Comments
 (0)