From f4c90570eb8898b241744c3b000b9fbd113462db Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 21 Aug 2023 10:12:16 +0200 Subject: [PATCH] remove inexisten variable version from send-tweet github workflow --- .../.github/workflows/release-announcments.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nf_core/pipeline-template/.github/workflows/release-announcments.yml b/nf_core/pipeline-template/.github/workflows/release-announcments.yml index f2a45d7147..a6e976855c 100644 --- a/nf_core/pipeline-template/.github/workflows/release-announcments.yml +++ b/nf_core/pipeline-template/.github/workflows/release-announcments.yml @@ -41,8 +41,7 @@ jobs: consumer_key=os.getenv("TWITTER_CONSUMER_KEY"), consumer_secret=os.getenv("TWITTER_CONSUMER_SECRET"), ) - version = os.getenv("VERSION").strip('"') - tweet = os.getenv("TWEET").format(version=version) + tweet = os.getenv("TWEET") client.create_tweet(text=tweet) env: TWEET: |