-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
fix: shell scripts #7186
fix: shell scripts #7186
Conversation
I don't know if it's worth adding a CI job for this |
Deploying with
|
Latest commit: |
5f1738d
|
Status: | ✅ Deploy successful! |
Preview URL: | https://a675b987.immich.pages.dev |
Branch Preview URL: | https://fix-bash-scripts.immich.pages.dev |
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.
Nice! I think a check would be fine if you'd like to add one
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.
So it isn't considered good practice to assign a value to an env variable directly? (without an intermediate variable)
96e3511
to
6727cdc
Compare
Yes, if you use |
Oh wow, I didn't know it ignored return values. |
Fix shell scripts which don't respect shellcheck syntax.
Files found with this command :
find ./ -type f -name "*.sh" -not \( -path "**/open-api/**" -o -path "**/openapi/**" -o -path "**/node_modules/**" \) -exec shellcheck --format=gcc {} \;
The
pump-version.sh
script bump the web version too.