-
Notifications
You must be signed in to change notification settings - Fork 3
chore(deps): march updates #473
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| docker build -t localhost:5000/comify:0.1.0 -f docker/Dockerfile . | ||
| VERSION=$(jq -r '.version' package.json) | ||
|
|
||
| docker build -t "localhost:5000/comify:$VERSION" -f docker/Dockerfile . | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| docker push localhost:5000/comify:0.1.0 | ||
| VERSION=$(jq -r '.version' package.json) | ||
|
|
||
| docker push "localhost:5000/comify:$VERSION" | ||
|
Comment on lines
+1
to
+3
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a shebang to specify the shell interpreter. The script lacks a shebang line. This is flagged by shellcheck (SC2148) and is important for portability and explicit shell specification. Proposed fix+#!/bin/bash
+
VERSION=$(jq -r '.version' package.json)
docker push "localhost:5000/comify:$VERSION"Dynamic versioning approach is solid. Reading the version from 🧰 Tools🪛 Shellcheck (0.11.0)[error] 1-1: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. (SC2148) 🤖 Prompt for AI Agents |
||
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.
Add a shebang to specify the shell interpreter.
Same issue as
docker/push.sh- the script lacks a shebang line (SC2148).Proposed fix
Consistent versioning pattern with push.sh.
The dynamic versioning approach mirrors
docker/push.sh, ensuring build and push operations use the same version source.📝 Committable suggestion
🧰 Tools
🪛 Shellcheck (0.11.0)
[error] 1-1: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
(SC2148)
🤖 Prompt for AI Agents