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

get latest version #476

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

get latest version #476

wants to merge 1 commit into from

Conversation

benriou
Copy link

@benriou benriou commented Dec 24, 2024

Suggests a way to retrieve the latest version (useful for CI in example)

Suggests a way to retrieve the latest version (useful for CI in example)
@ekristen
Copy link
Owner

I appreciate the contribution. If I am going to include something like this I'd like it to be a bit more universal or have an example for all OS types.

I do build and publish docker images, any reason not using those in CI/CD?

I am updating my documentation to show https://dist.sh as a preferred installation method soon.

@benriou
Copy link
Author

benriou commented Dec 30, 2024

Ok, thanks for your feedback.

We'll consider using the docker version, but correct me if I'm wrong, there is no 'latest' tag being pushed.

If I want to retrieve the latest aws-nuke published version, I still need to perform a GitHub API call to retrieve the latest release being published.

@ekristen
Copy link
Owner

@benriou fair enough there is no latest tag right now. I might be willing to change that. What's your use case if you don't mind? I'd like to get some additional information to figure out the best solution here. I'm open to doing something to make this easier.

@benriou
Copy link
Author

benriou commented Jan 2, 2025

My use-case is to always retrieve the latest version of aws-nuke when I start a task via a CI to clean-up a test account.
I want to use the latest version to take advantage of any resources added on the latest versions.

With the solution shown on the PR, I acheive this succesfully.

@ekristen
Copy link
Owner

ekristen commented Jan 2, 2025

@benriou what CI are you using?

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.

2 participants