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

How to use current branch in the inline conf #199

Open
hmendezm opened this issue Dec 2, 2021 · 0 comments
Open

How to use current branch in the inline conf #199

hmendezm opened this issue Dec 2, 2021 · 0 comments

Comments

@hmendezm
Copy link

hmendezm commented Dec 2, 2021

Hi Daniel, a quick question. is it a way to use the current branch in the bold section? What I am looking for is to have an inline conf where I do not need to define hardcoding the branch. We create many branches and every time I need to change the branch name. I am sure this is Azure pipeline question but I am kinda new on this.

{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/changelog",
"@semantic-release/git"
],
"branches": ["feature/PIV-5049", {"name": "beta", "prerelease": true}]
}

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