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

release.config.js is not respected #199

Closed
niyowski opened this issue Feb 18, 2024 · 2 comments · Fixed by #201
Closed

release.config.js is not respected #199

niyowski opened this issue Feb 18, 2024 · 2 comments · Fixed by #201
Labels

Comments

@niyowski
Copy link

I get the following message in the CI:

[7:55:03 PM] [semantic-release] › ℹ  Running semantic-release version 22.0.5
...
...
...
[7:55:05 PM] [semantic-release] › ℹ  This test run was triggered on the branch develop, while semantic-release is configured to only publish from main, therefore a new version won’t be published.

I want to release in the develop branch therefore my release.config.js is:

/**
 * @type {import('semantic-release').GlobalConfig}
 */
module.exports = {
  branches: ["develop"],
  // ...
};

@codfish
Copy link
Owner

codfish commented Mar 3, 2024

I'll look into it but in the meantime you can do the following:

- uses: codfish/semantic-release-action
  with:
    branches: ['develop']

Copy link

🎉 This issue has been resolved in version 3.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

rdash99 pushed a commit to rdash99/semantic-release-action-smaller that referenced this issue Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants