You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
See the below image that shows that the `bitbucket-pipelines` user is the committer whenever the pipeline is bumping the version automatically after a successful build.
Can the Author be changed in any way?
I tried to set:
git config user.name
git config user.email
...before pushing, but it did not help.
Thanks!
Hi @zoltan_zvara ,
This is possible using the commands you mentioned
- git config user.name 'John Smith'
- git config user.email myemail@domain.com
Please note that the commands need to be executed before the git commit command. The email gets added to a commit's metadata when you do a git commit and not when you push.
Are you using the git config commands after you do a git commit in your build? If so, could you try moving them before the git commit, and let me know if it works?
Kind regards,
Theodora
You are right; that was the issue; sorry for not being thorough in my investigation!
Thank you for your kind help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @zoltan_zvara, you are very welcome and no worries at all, I'm glad I could help!
Please feel free to reach out if you ever need anything else!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.