From 2abf78498f288dd8271ed6f10d1ba54ec06e402b Mon Sep 17 00:00:00 2001 From: Aviv Ben Shahar Date: Thu, 6 Jun 2024 21:18:56 +0300 Subject: [PATCH] docs: better explain about `targetDir` changes --- docs/app/ci/semantic-release.md | 2 ++ docs/app/setup/bundler-options.md | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/app/ci/semantic-release.md b/docs/app/ci/semantic-release.md index 87a3a07..6b3d3f5 100644 --- a/docs/app/ci/semantic-release.md +++ b/docs/app/ci/semantic-release.md @@ -25,6 +25,8 @@ It is very recommended to use tools for commit message enforcement like [`commit ::: warning NOTE :warning: Fill in the upper case placeholders with your own values, such as `REPO_NAME`, `WORKFLOW_NAME`, etc. + +**In case you've changed the `targetDir` over the [bundler options](/app/setup/bundler-options#targetdir), you should change the `@semantic-release/github` asset path accordingly.** ::: Create a `.releaserc` file in the root of your project and add the following configuration: diff --git a/docs/app/setup/bundler-options.md b/docs/app/setup/bundler-options.md index 64ae05f..2adc11d 100644 --- a/docs/app/setup/bundler-options.md +++ b/docs/app/setup/bundler-options.md @@ -83,6 +83,7 @@ You can change that by setting the `targetDir` property. ::: warning CI / CD Usage :rotating_light: If you're using the [`fast-alfred` CI / CD template](/app/ci/github-actions), updating the `targetDir` property should be handled automatically. +The only thing you should update is the [`.releaserc` asset path](/app/ci/semantic-release). Make sure `npx fast-alfred pack` script works correctly. :::