Skip to content

Commit 2565a86

Browse files
committed
Releasing guide
1 parent 40a7f0f commit 2565a86

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ jobs:
3535
run: |
3636
tag="${{ github.ref_name }}"
3737
body="Release $tag"
38-
gh release create --draft "$tag" --title "$tag" --notes "$body" --generate-notes --prerelease
38+
gh release create --draft "$tag" --title "$tag" --notes "$body" --generate-notes
3939
gh release upload "${{ github.ref_name }}" packages/powersync/assets/powersync_db.worker.js

RELEASING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Preparing Release
2+
3+
Bump the version of the packages to be released using `melos`:
4+
5+
```
6+
melos version
7+
```
8+
9+
if melos does not pick up changes or does not bump the version correctly, you can manually version the packages using
10+
11+
```
12+
melos version -V ${PACKAGE_NAME}:m.m.p
13+
for e.g melos version -V powersync:1.6.3
14+
```
15+
16+
This will create a tag in the format of ${PACKAGE_NAME}-vm.m.p
17+
18+
```
19+
e.g powersync-v1.6.4, powersync_attachments_helper-v0.6.3+1, etc.
20+
```
21+
22+
# Perform Release
23+
24+
```
25+
git push --follow-tags
26+
```

0 commit comments

Comments
 (0)