-
-
Notifications
You must be signed in to change notification settings - Fork 158
Check that tag is valid semver in install.sh #556
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
Conversation
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
@zd4y Hi 👋 Hmm, linux_install check failed 🤔 Could it be because of your improvements? |
|
Yes, it is giving the following warnings:
I can fix it following the recommendations on the shellcheck wiki of each warning or changing the first line from |
|
I think yes, let's keep the script in sh. @dotenv-linter/core Do you agree? |
Codecov Report
@@ Coverage Diff @@
## master #556 +/- ##
=======================================
Coverage 98.91% 98.91%
=======================================
Files 43 43
Lines 2761 2769 +8
=======================================
+ Hits 2731 2739 +8
Misses 30 30
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
Please add checks to make sure that everything works. |
|
@zd4y Please fix the following error: |
|
Hopefully this fixes it, how can I run it in my fork? |
|
With 2a7e47c I try to fix the jobs that check wrong inputs (I can't test it in my fork or in my pc so I don't know if it works) and I add checks for windows. The script not working on macos maybe has to do with |
Yes, you're right. |
|
@zd4y Is this PR ready for review? Also, please squash your commits. |
fix: check that tag is valid semver fix: make sure tag starts with v and update error message fix: move tag validation to function fix: replace bash extensions with normal sh ci: add checks for install with tag ci: remove tag 'not a tag' from job ci: replace == with = in test ci: fix matrix.shell ci: remove matrix.shell and os:windows-latest ci: fix install_specific_versions_wrong_input job and add windows jobs fix: use `grep -E` instead of `grep -P` ci: fix wrong input jobs ci: remove non-existent windows releases and redirect install.sh stderr to stdout in wrong input jobs ci: fix error message test
Yes, please review it :) |
|
@zd4y Thank you for your help 🔥 |
Resolves #539
Add check in install.sh to validate that the tag argument matches semver
✔ Checklist: