Skip to content

Commit

Permalink
chore(ci): fix generate changelog path (#13781)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Nov 22, 2023
1 parent 9a2a884 commit 6a268cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
mkdir -p docs/release-notes/nightly
df="docs/release-notes/nightly/${{ env.DATE }}_${{ needs.create_release.outputs.version }}.md"
mkdir -p docs/release-nightly
df="docs/release-nightly/${{ env.DATE }}_${{ needs.create_release.outputs.version }}.md"
echo "---" > $df
gh release view --repo datafuselabs/databend ${{ needs.create_release.outputs.version }} >> $df
sed -i -E 's/^--$/---/g' $df
sed -i -E '/^asset:/d' $df
git add docs/release-notes/nightly
git add docs/release-nightly
git status
- uses: peter-evans/create-pull-request@v4
with:
Expand Down

0 comments on commit 6a268cb

Please sign in to comment.