Skip to content

Commit

Permalink
Merge pull request #17 from kunai-consulting/version-management
Browse files Browse the repository at this point in the history
Version management
  • Loading branch information
thejackshelton-kunaico authored Aug 22, 2024
2 parents 97e6baa + c304bc7 commit 1493153
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"fixed": [
["@kunai-consulting/qwik-components", "@kunai-consulting/qwik-hooks"]
],
"linked": [],
"access": "restricted",
"baseBranch": "main",
Expand Down
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 1493153

Please sign in to comment.