Skip to content

Commit

Permalink
fixed subtree commands for release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
remigerme committed Jul 29, 2024
1 parent 4c5de32 commit e70c6a6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ Check out [Typst packages repo](https://github.com/typst/packages) to learn more
I personally suggest the following steps :

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

```bash
git subtree pull --prefix=x.y.z [email protected]:remigerme/typst-polytechnique.git main
git subtree add --prefix=packages/preview/polytechnique-reports/x.y.z [email protected]:remigerme/typst-polytechnique.git main
```

You may need to pull sometimes (if the release wasn't fully ready) :
```bash
git subtree pull --prefix=packages/preview/polytechnique-reports/x.y.z [email protected]:remigerme/typst-polytechnique.git main
```
- PR your fork to publish the package

0 comments on commit e70c6a6

Please sign in to comment.