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

feat: change filename in releases to allow automatic download of newest release #11

Closed
kamellemann opened this issue Oct 31, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@kamellemann
Copy link

Feature Request

Describe the Feature Request

change filename in releases to allow automatic download of newest release with powershell like this way
$repo = "michaelmsonne/ManagedIdentityPermissionManager"
$file = "msitool.exe"

$releases = "https://api.github.com/repos/$repo/releases"

Write-Host Determining latest release
$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name

$download = "https://github.com/$repo/releases/download/$tag/$file"

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
Yes / No (Help can be provided if you need assistance submitting a PR)

@kamellemann kamellemann added the enhancement New feature or request label Oct 31, 2024
@michaelmsonne
Copy link
Owner

In the tool itself or bu another usecase ? :)

@michaelmsonne
Copy link
Owner

The code for this will come in the new v. @kamellemann :)

@michaelmsonne
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants