Skip to content

Commit

Permalink
Merge branch 'andrew_testing' into feat/tamagui_landing_page
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadHassan03 authored Aug 27, 2024
2 parents 6f9cf71 + e72fa28 commit a802044
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/changeset-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- name: 🛠 Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🔧 Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand All @@ -26,6 +26,24 @@ jobs:
uses: changesets/action@v1
with:
version: yarn changeset version
commit: "🔖 chore: version bump and changelog"
commit: '🔖 chore: version bump and changelog'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 📝 Bump version and generate changelog
run: |
git fetch --all
git checkout main
npx changeset version
git add .
git commit -m "Version packages and generate changelog"
git push --follow-tags
- name: 📦 Create GitHub Release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body_path: ./CHANGELOG.md
draft: false
prerelease: false

0 comments on commit a802044

Please sign in to comment.