From e70c6a6961b749c4b39ae2c5a1b35f30ecb1002d Mon Sep 17 00:00:00 2001 From: "remi.germe" Date: Tue, 30 Jul 2024 00:01:21 +0200 Subject: [PATCH] fixed subtree commands for release pipeline --- CONTRIBUTING.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a46a69e..0f2f01b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 git@github.com:remigerme/typst-polytechnique.git main + git subtree add --prefix=packages/preview/polytechnique-reports/x.y.z git@github.com: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 git@github.com:remigerme/typst-polytechnique.git main ``` - PR your fork to publish the package