-
Notifications
You must be signed in to change notification settings - Fork 188
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
install-script:feature - add install-beta and install-rc #827
Conversation
f492cbf
to
1d3e584
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create handle in case the command responds with failed or empty status, and change envs LATEST_RC
and LATEST_BETA
into the shell script so that the user passes the parameter latest or beta-latest or rc-latest
ca52c9d
to
624c7a8
Compare
if someone wants to pass |
New files was added since approval
I think that would be better change the existing script. This new script looks very similar with the current. |
someone could be using the existing script passing an specific version, it would break them if we change the arguments to latest, beta or rc |
Can we not handle both cases? |
i think it will get much verbose, don't you? |
Maybe, but I think that is still better than duplicating the entire script. What do you guys think @nathanmartinszup @wiliansilvazup ? |
I don't beleave duplicate script is the better case.
|
@iancardosozup beta and release candidate in this case can be used passing specific version too |
So i'll need to create a semver validation in bash script? i was thinking about and i could validate i really don't think passing all parameters is a good practice, if someone wants to access beta and rc versions they or pass it by hand and we're creating another file to pass it as |
624c7a8
to
067743b
Compare
067743b
to
c02e8fd
Compare
b1f5ab3
to
0a338c8
Compare
0a338c8
to
2e89936
Compare
Rebase branch with main |
8165917
to
3206add
Compare
3206add
to
d39bf9e
Compare
now install.sh accepts latest-rc and latest-beta as input and checks if the argument is in a valid semantic version format (https://regex101.com/r/TKzfi9/1) besides latest format Signed-off-by: Ian Cardoso <ian.cardoso@zup.com.br>
d39bf9e
to
29b373c
Compare
) now install.sh accepts latest-rc and latest-beta as input and checks if the argument is in a valid semantic version format (https://regex101.com/r/TKzfi9/1) besides latest format Signed-off-by: Ian Cardoso <ian.cardoso@zup.com.br> (cherry picked from commit 4bc7690)
Signed-off-by: Ian Cardoso ian.cardoso@zup.com.br
- What I did
- How to verify it
- Description for the changelog