0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

ci: Update the next tag when a alpha/beta release is published

This commit is contained in:
Princesseuh 2024-10-01 10:48:29 +02:00
parent e748c480a7
commit 70e5848832
No known key found for this signature in database
GPG key ID: 105BBD6D57F2B0C0

View file

@ -59,6 +59,10 @@ jobs:
# Needs access to publish to npm
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Update next npm tag
if: steps.changesets.outputs.published == 'true' && github.ref == 'refs/heads/next' && contains(steps.changesets.outputs.publishedPackages.*.name, 'astro')
run: npm dist-tag astro@${{ steps.changesets.outputs.publishedPackages.astro.version }} next
- name: Generate Announcement
id: message
if: steps.changesets.outputs.published == 'true'