From 1daa2f1ea8f2057afec67b20d1fcb1628d4bbc85 Mon Sep 17 00:00:00 2001 From: Ihsan Ullah Date: Tue, 3 Dec 2024 20:01:10 +0500 Subject: [PATCH] removed release version body from the workflow and version.json to fix the formatting issue in the workflow run --- .github/workflows/release-version-update.yml | 4 +--- version.json | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release-version-update.yml b/.github/workflows/release-version-update.yml index 745463914..f2d8b93b3 100644 --- a/.github/workflows/release-version-update.yml +++ b/.github/workflows/release-version-update.yml @@ -20,11 +20,10 @@ jobs: id: get_release run: | response=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ github.repository }}/releases/latest) - echo "$response" | jq '.tag_name, .name, .published_at, .body, .html_url' | tee /tmp/release_info + echo "$response" | jq '.tag_name, .name, .published_at, .html_url' | tee /tmp/release_info echo "tag_name=$(echo "$response" | jq -r .tag_name)" >> $GITHUB_ENV echo "name=$(echo "$response" | jq -r .name)" >> $GITHUB_ENV echo "published_at=$(echo "$response" | jq -r .published_at)" >> $GITHUB_ENV - echo "body=$(echo "$response" | jq -r .body)" >> $GITHUB_ENV echo "html_url=$(echo "$response" | jq -r .html_url)" >> $GITHUB_ENV # Step 3: Update version.json file with latest information @@ -34,7 +33,6 @@ jobs: "tag_name": "${{ env.tag_name }}", "release_name": "${{ env.name }}", "published_at": "${{ env.published_at }}", - "body": "${{ env.body }}", "html_url": "${{ env.html_url }}" }' > version.json diff --git a/version.json b/version.json index 7bc02172f..efd1754a5 100644 --- a/version.json +++ b/version.json @@ -2,6 +2,5 @@ "tag_name": "v1.11.0", "release_name": "Release 1.11.0", "published_at": "2024-09-16", - "body": "", "html_url": "https://github.com/codalab/codabench/releases/tag/v1.11.0" } \ No newline at end of file