-
Notifications
You must be signed in to change notification settings - Fork 4
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
Only ask for credentials when they're not set #3
Comments
Hi @erickwilder, are you using the hosted offering or an on-prem server? |
Hello Christoph. Thank you for your reply.
The issue wasn't about authentication, but about recognizing the
environment variables. I'm already using app passwords and set `teamName`
following the documentation.
Nevertheless I gave up on using this plugin and switched to
`@semantic-release/git` as it already cover the same use cases as I wanted.
…On Sat, Sep 15, 2018, 9:55 PM Christoph Murczek ***@***.***> wrote:
Hi @erickwilder <https://github.com/erickwilder>, are you using the
hosted offering or an on-prem server?
Also is your repo setup as a team repo? If the latter is the case, you
need to set the teamName when configuring the plugin for releasing to
BitBucket. There's on more thing with that scenario, though. Since the repo
is not owned by you in that case, but by the team account, you'd also need
to provide the team account's password, which is why you should think of
setting up an app password. You can find an example config as well as the
link to Atlassians docs regarding app passwords in the Config section of
the readme
<https://github.com/iteratec/semantic-release-bitbucket#configuration>.
If you still have problems, please provide more info, e.g. when is
sematic-release-bitbucket asking for credentials? Try running
semantic-release with the --debug switch and post the log here. It should
contain some pointers to find out what's happening.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAlEHuDJfw2pJf4x4mCDmw4gB2SaaBY2ks5ubVsegaJpZM4Whd9f>
.
|
I've set up this plugin and added both
BITBUCKET_USER
andBITBUCKET_PASSWORD
as environment variables but every time I runsemantic-release
the plugin asks for credentials.Expected result:
Respect whatever values are defined by the environment variables and don't ask for credentials at all.
The text was updated successfully, but these errors were encountered: