Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Conversation

@SmartVulpe
Copy link
Contributor

I implemented wildcards to solve the issue #63

Example:
upack packageName install 1.*
upack packageName update 2.3.*

And I added the command --check in the update, if you just want to check updates using some automation software it will be helpful.

Using wildcards and check command you can do some tricks, like:
Exemple: If you have a package with two main versions like 1.x and 2.x, and the 1.x is still getting updates and you don't intend to update it to 2.x yet, you can check for updates only on 1.x
upack packageName update 1.* --check

And update only for 1.x with:
upack packageName update 1.*

Since the wildcard is implemented in the GetVersionAsync method, basically all commands that allow inserting the version can now use wildcards.

In my last commit, I changed the wildcard behavior to follow the project logic, where all version checks only return releases unless using the --prerelease command, and using this command it only returns prereleases.

upack packageName update 1.* --prerelease
upack packageName update 1.* --check --prerelease
Will update or check only pre releases even if they dont are the most recent version available.

@gdivis
Copy link
Contributor

gdivis commented Jan 23, 2023

Thanks! We'll get this released as v3.1.1 soon.

@gdivis gdivis merged commit f77e587 into Inedo:master Jan 23, 2023
@gdivis gdivis added this to the 3.1.1 milestone Jan 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants