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

Add support for More SCM releases #80

Open
Kamsiy opened this issue Dec 18, 2022 · 3 comments
Open

Add support for More SCM releases #80

Kamsiy opened this issue Dec 18, 2022 · 3 comments
Labels
area/customization Enables default behavior customization area/documentation Improvements or additions to documentation

Comments

@Kamsiy
Copy link
Contributor

Kamsiy commented Dec 18, 2022

Description
Currently the only supported source code management tool is the public GitHub endpoint.

const gitHubLatestReleaseURLFormat = "https://github.com/%s/releases/latest"

This proposal is to support upgrade notice for New Releases on GitHub enterprise, public Gitlab and GitLab Enterprise

Reasons
This would expand support to Gitlab & Github enterprise projects

@mszostok mszostok added area/documentation Improvements or additions to documentation area/customization Enables default behavior customization labels Dec 19, 2022
@mszostok
Copy link
Owner

Hi @Kamsiy

That makes sens to me 👍

The only restriction would be that also the GitHub enterprise repository needs to be publically available 🤔 not sure if this is a common scenario.

@Kamsiy
Copy link
Contributor Author

Kamsiy commented Jan 14, 2023

if its Github/Gitlab enterprise, it would be an internal & private release

@Kamsiy
Copy link
Contributor Author

Kamsiy commented Jan 14, 2023

This means, if its on GitHub/Gitlab enterprise or a private repo, the version package would need a GitHub token to access the release (assuming the user has permission to that repo).

goreleaser has a similar customization for releasing projects on Github Enterprise. https://goreleaser.com/scm/github/?h=github#github-enterprise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/customization Enables default behavior customization area/documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants