Skip to content

Commit 56da472

Browse files
committed
fix release workflow
1 parent 81600b2 commit 56da472

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Publish to npm
4646
working-directory: sqg
47-
run: pnpm publish --provenance --access public
47+
run: pnpm publish --provenance --access public --no-git-checks
4848

4949
- name: Create GitHub Release
5050
uses: softprops/action-gh-release@v2

sqg/justfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ install:
9494

9595
# ─── Release ────────────────────────────────────────────────────
9696

97-
# Bump version, commit, tag, and push
97+
# Bump minor version, commit, tag, and push
9898
[group("release")]
9999
release:
100100
#!/bin/bash
@@ -103,3 +103,13 @@ release:
103103
git commit -m "release: $PACKAGE_VERSION" package.json
104104
git tag $PACKAGE_VERSION
105105
git push && git push --tags
106+
107+
# Bump patch version, commit, tag, and push
108+
[group("release")]
109+
release-patch:
110+
#!/bin/bash
111+
pnpm version patch
112+
PACKAGE_VERSION="v$(pnpm pkg get version | tr -d '"')"
113+
git commit -m "release: $PACKAGE_VERSION" package.json
114+
git tag $PACKAGE_VERSION
115+
git push && git push --tags

0 commit comments

Comments
 (0)