diff --git a/.github/workflows/beta_release.yml b/.github/workflows/beta_release.yml index 482195f9c3c..32073eb9663 100644 --- a/.github/workflows/beta_release.yml +++ b/.github/workflows/beta_release.yml @@ -29,12 +29,17 @@ jobs: ref: tags/beta sha: ${{ github.sha }} + - name: Delete beta tag + run: git tag -d beta + continue-on-error: true + - name: changelog # or changelogithub@0.12 if ensure the stable result id: changelog run: | git tag -l npx changelogithub --output CHANGELOG.md # npx changelogen@latest --output CHANGELOG.md + - name: Upload assets uses: softprops/action-gh-release@v2 with: diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 55efd9a8984..056883d6d96 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -15,6 +15,10 @@ jobs: with: fetch-depth: 0 + - name: Delete beta tag + run: git tag -d beta + continue-on-error: true + - run: npx changelogithub # or changelogithub@0.12 if ensure the stable result env: GITHUB_TOKEN: ${{secrets.MY_TOKEN}}