From 50065c8bee3f5c20d29bce19037447b2c2006c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Qui=C3=B1ones?= Date: Mon, 12 May 2025 12:39:13 -0500 Subject: [PATCH] ci(update): specific format for twilight release title (#60) Watch your back --- .github/update.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/update.sh b/.github/update.sh index 08c6976..dc4ff36 100755 --- a/.github/update.sh +++ b/.github/update.sh @@ -165,15 +165,17 @@ update_version() { updated_at_epoch="$(date -d "$updated_at" +%s)" release_name="$semver-$updated_at_epoch" + release_title="$semver#$updated_at_epoch" flake_repo_location="0xc000022070/zen-browser-flake" - if ! gh release list | grep "$release_name" >/dev/null; then + if ! gh release list | grep "$release_title" >/dev/null; then echo "Creating $release_name release..." # Users with push access to the repository can create a release. gh release --repo="$flake_repo_location" \ - create "$release_name" --notes "To be ready when they replace the artifacts from https://github.com/zen-browser/desktop/releases/tag/twilight! :)" + create "$release_name" --title="$release_title" \ + --notes "To be ready when they replace the artifacts from https://github.com/zen-browser/desktop/releases/tag/twilight! :)" else echo "Release $release_name already exists, skipping creation..." fi