File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 2626
2727 - uses : actions/setup-node@v4
2828 with :
29- node-version : 18
29+ node-version : 22
3030 registry-url : " https://registry.npmjs.org"
3131 if : ${{ steps.release.outputs.release_created }}
3232
4545 npx jsr publish
4646 if : ${{ steps.release.outputs.release_created }}
4747
48+ - name : Push to latest and version branches branch
49+ run : |
50+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
51+ git config --global user.name "github-actions[bot]"
52+ git push -f origin main:v${{ steps.release.outputs.major }}.x
53+ git push -f origin main:latest
54+ if : ${{ steps.release.outputs.release_created }}
55+
4856 # Tweets out release announcement
4957 - run : ' node dist/esm/bin.js -t -b -m "${{ github.event.repository.full_name }} v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} has been released!\n\n${{ github.event.repository.html_url }}/releases/tag/${{ steps.release.outputs.tag_name }}"'
5058 if : ${{ steps.release.outputs.release_created }}
You can’t perform that action at this time.
0 commit comments