From f79c899fe0e76e298fd6049a9803fe3870f8ecc9 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Wed, 6 Mar 2024 01:32:46 +0000 Subject: [PATCH] Fix CI step to post release to Discord --- .github/workflows/ci.yml | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbb6a648d7..6d0bd99234 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -549,7 +549,7 @@ jobs: - name: Post release to Discord env: DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} - run: scripts/post-release-discord.sh ${{ github.ref }} + run: scripts/post-release-discord.sh ${{ github.ref_name }} dependency-submission: name: Submit Dependencies diff --git a/build.sbt b/build.sbt index 726a0425ad..4b531fb883 100644 --- a/build.sbt +++ b/build.sbt @@ -215,7 +215,7 @@ ThisBuild / githubWorkflowBuild := Seq("JVM", "JS", "Native").map { platform => ThisBuild / githubWorkflowPublish += WorkflowStep.Run( - List("scripts/post-release-discord.sh ${{ github.ref }}"), + List("scripts/post-release-discord.sh ${{ github.ref_name }}"), name = Some("Post release to Discord"), env = Map("DISCORD_WEBHOOK_URL" -> "${{ secrets.DISCORD_WEBHOOK_URL }}") )