diff --git a/.changeset/config.json b/.changeset/config.json index befbeba2..1794ee77 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,9 @@ "$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json", "changelog": "@changesets/cli/changelog", "commit": false, - "fixed": [], + "fixed": [ + ["@kunai-consulting/qwik-components", "@kunai-consulting/qwik-hooks"] + ], "linked": [], "access": "restricted", "baseBranch": "main", diff --git a/.changeset/olive-actors-sell.md b/.changeset/olive-actors-sell.md new file mode 100644 index 00000000..9bf29715 --- /dev/null +++ b/.changeset/olive-actors-sell.md @@ -0,0 +1,6 @@ +--- +"@kunai-consulting/qwik-components": patch +--- + +feat: fixed versioned packages +feat: pr title updates with version number diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26a169f7..2efc4995 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}