From 4f1a5fd6771b92f75a5063646cabd6ba0382a04a Mon Sep 17 00:00:00 2001 From: Charuka Tharindu Date: Thu, 6 Jul 2023 11:49:27 +0530 Subject: [PATCH] Fix md file path --- .github/workflows/publish-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index c4ecbec8e5..2770d7ec97 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -125,12 +125,12 @@ jobs: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | gh repo view ballerina-platform/ballerina-dev-website -b release-2201.7.0 --json url --jq '.clone_url' - gh api repos/ballerina-platform/ballerina-dev-website/contents/downloads/release-artifacts-verification.md?ref=release-2201.7.0 -H 'Accept: application/vnd.github.v3.raw' > release_notes.md + gh api repos/ballerina-platform/ballerina-dev-website/contents/downloads/verify-ballerina-artifacts.md.md?ref=release-2201.7.0 -H 'Accept: application/vnd.github.v3.raw' > release_notes.md - name: Update Markdown file run: | branchName=$(echo ${{ github.ref }} | cut -d'/' -f3) - if ${{ github.event.inputs.isPreRelease }} == 'true'; then - echo "" > release_notes.md; + if ${{ github.event.inputs.isPreRelease }} == 'true'; then + echo "" > release_notes.md; else sed -i 's/{{ version }}/${{ steps.version-set.outputs.taggedVersion }}/g' release_notes.md; sed -i 's/{{ branch }}/$branchName/g' release_notes.md; fi - name: Read release notes from file id: release_notes