Hi
I am trying to write a Bitbucket Pipelines script that automatically add a git tags to on the master branch
image: maven:3.3.3
pipelines:
default:
- step:
script:
- mvn clean install
branches:
master:
- step:
script:
- mvn clean install
- git tag THE_VERSION
- git push
Pipelines gives me an error saying it is unable to authenticate to when it attempts the push
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://x-token-auth:{access_token}@bitbucket.org/deepskyblue/xero-client.git/'
Anyone have any ideas how I get this working?
thanks
Richard