Skip to content

Commit

Permalink
ci: ensure the sites are version bump for pre-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sastan committed Dec 14, 2022
1 parent 073aeeb commit 178aa86
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/actions/publish-prerelease/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@ runs:
shell: bash
run: pnpm changeset --empty

- name: 📝 Ensure sites versions are bumped
uses: fertrig/create-file-action@1.0.2
with:
path: '.changesets'
file: 'sites-versions-bump.md'
content: |
---
'@sites/twind.run': patch
'@sites/twind.style': patch
---
bump version
- name: 📦 Update packages
shell: bash
run: pnpm changeset version --no-git-tag --snapshot ${{ inputs.tag }} --snapshot-prerelease-template "${{ inputs.template }}"
Expand Down

0 comments on commit 178aa86

Please sign in to comment.