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

Fix release body invalid link issue #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dogpoopy
Copy link
Contributor

Most of the git hosting platforms provides .git extension for the repo url in their "copy clone url" option.

There's an issue in release body where if the url ends with .git extension, the link will become invalid because the output of release body would be like this:

https://gthub.com/user/device_tree.git/tree/main
instead of
https://gthub.com/user/device_tree/tree/main

This will check if the device tree url ends with .git, if it does, it will be removed before passing it on release body

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

Successfully merging this pull request may close these issues.

1 participant