release-tag.yml 589 B

123456789101112131415161718192021222324
  1. name: Create Release Tag
  2. on:
  3. push:
  4. tags:
  5. - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
  6. jobs:
  7. build:
  8. name: Create Release
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: Checkout code
  12. uses: actions/checkout@v4
  13. with:
  14. fetch-depth: 0
  15. - name: Create Release for Tag
  16. id: release_tag
  17. uses: ncipollo/release-action@v1
  18. with:
  19. generateReleaseNotes: "true"
  20. body: |
  21. > Please refer to [CHANGELOG.md](https://github.com/vbenjs/vue-vben-admin/blob/main/CHANGELOG.md) for details.