Skip to content

Commit e70c6a6

Browse files
committed
fixed subtree commands for release pipeline
1 parent 4c5de32 commit e70c6a6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

CONTRIBUTING.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@ Check out [Typst packages repo](https://github.com/typst/packages) to learn more
1111
I personally suggest the following steps :
1212

1313
- fork the Typst packages repo
14-
- in `packages/preview/polytechnique-reports`, for every `x.y.z` version (if the `main` branch currently contains the `x.y.z` release):
14+
- in the root directory, for every `x.y.z` version (if the `main` branch currently contains the `x.y.z` release) :
1515

1616
```bash
17-
git subtree pull --prefix=x.y.z [email protected]:remigerme/typst-polytechnique.git main
17+
git subtree add --prefix=packages/preview/polytechnique-reports/x.y.z [email protected]:remigerme/typst-polytechnique.git main
18+
```
19+
20+
You may need to pull sometimes (if the release wasn't fully ready) :
21+
22+
```bash
23+
git subtree pull --prefix=packages/preview/polytechnique-reports/x.y.z [email protected]:remigerme/typst-polytechnique.git main
1824
```
1925
2026
- PR your fork to publish the package

0 commit comments

Comments
 (0)