Skip to content

Commit

Permalink
feat: pr title updates with version number
Browse files Browse the repository at this point in the history
  • Loading branch information
thejackshelton-kunaico committed Aug 22, 2024
1 parent 73c1265 commit c304bc7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/olive-actors-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@kunai-consulting/qwik-components": patch
---

feat: fixed versioned packages
feat: pr title updates with version number
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,21 @@ jobs:
run: |
pnpm build
- name: 📊 Determine next version
id: next-version
run: |
pnpm changeset status --output=release.json
echo "NEW_VERSION=$(jq -r '.releases[0].newVersion' release.json)" >> $GITHUB_ENV
rm release.json
- name: 📣 Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
title: "chore(release): version packages 🦋"
title: "Release QDS v${{ env.NEW_VERSION }}"
publish: pnpm publish:packages
version: pnpm version:packages
commit: "chore(release): version packages 🦋 [skip ci]"
commit: "feat: Release QDS v${{ env.NEW_VERSION }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c304bc7

Please sign in to comment.