Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not clear how to set root directory of released source files #115

Open
creaux opened this issue Jan 15, 2025 · 0 comments
Open

Not clear how to set root directory of released source files #115

creaux opened this issue Jan 15, 2025 · 0 comments

Comments

@creaux
Copy link

creaux commented Jan 15, 2025

Hi @TheUnderScorer ,

can you please help me with the following. I'm trying to set list directory as one which should be released GitHub release. However each time I release new version and open zip it always takes root of my project instead of clearly set asset directory.

Am I using properly assets option? Please note that project is directory with recursive structure.

From the documentation and the following comment I have understood this should be sufficient. #73

Honestly not sure if I have understood it correctly as it doesn't work.

 "semantic-release": {
      "executor": "@theunderscorer/nx-semantic-release:semantic-release",
      "options": {
        "githubOptions": {
          "assets": [
            {
              "path": "${PROJECT_DIR}/dist/apps/components/project",
              "label": "project"
            }
          ]
        },
        "github": true,
        "changelog": true,
        "npm": false,
        "tagFormat": "project/v${VERSION}"
      }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant