I'm in the process of trying to release a custom pipe using this automation that you provide, but I'm running into some issues. In particular, I've set the SSH_KEY variable to a base64 encoded key with the right permissions as outlined by the instructions, which is working well for letting the pipe push commits. It is not, however, letting it push new tags. I believe the issue is that the git-tag.sh script in that pipe doesn't actually use the SSH_KEY: only the git-commit.sh one does. I believe copying the logic over to that script (as I've done in this commit on my fork: feel free to use it) would get things working again.
@Oleksandr KyrdanI see you've commited to that repository recently. Is this something you would be able to help with? Many thanks!
The issue you're facing is due to the git-tag. sh script not utilizing the SSH_KEY.
To resolve this, you can update the git-tag. sh script by incorporating the logic from the git-commit. sh script.
You can use the commit you've made on your fork as a reference.
The steps:
Clone the bitbucket-pipe-release repository.
Modify the git-tag. sh script to use the SSH key.
Copy the relevant logic from the git-commit. sh script.
Test your changes locally to ensure that the script is working correctly with the SSH key.
Commit your changes and push them to your fork.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Oday Rafeh I'm aware this is an option. I was hoping someone with the right permissions might merge my fix into the main repository, though, to avoid me having to keep a fork up to date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Edoardo Pirovano ,
I understand that you would like to have your changes incorporated into the main repository instead of maintaining a separate fork.
In this case, the best course of action is to submit a pull request (PR) to the original repository with your proposed changes.
You can create a pull request:
Once you've submitted the pull request, the repository maintainers will review your changes. If they find your changes beneficial and without conflicts, they may choose to merge your changes into the main repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the instructions, but I do not actually have the permissions to open a pull request on bitbucket-pipe-release: the open pull request button is greyed out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since you already implemented this feature here, please follow the contribution docs to suggest this feature. Please, use Fork (check the docks).
You are welcome and thanks for contribution.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.