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:
parent
e748c480a7
commit
70e5848832
1 changed files with 4 additions and 0 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue