-
Notifications
You must be signed in to change notification settings - Fork 1
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: use BIC_OVERWRITE
when cp
ing static/ too
#21
Conversation
# shellcheck disable=SC2216 | ||
echo n | cp "${args[@]}" "${SRC_DIR}"/static/. "${DEST_DIR}" |
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.
don't love this, but wasn't able to immediately come up with another way to accomplish it https://www.shellcheck.net/wiki/SC2216
PANDOC_VERSION: 3.2.1 | ||
BATS_VERSION: 1.11.0 |
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.
it's been a couple years...
|
||
jobs: | ||
# Run tests. | ||
# See also https://docs.docker.com/docker-hub/builds/automated-testing/ | ||
test: | ||
# in sync with Dockerfile | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-24.04 |
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.
forgot to bump this when I bumped the Dockerfile 🙃
@mfossen if you're up for a review I'd appreciate the 👀 |
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.
LGTM
closes #19
Initially tried to use
cp
with--no-clobber/-n
to fail if trying to copy a file over that already exists. But, depending on the OS the behavior isn't consistent, particularly Ubuntu which is what I use for the Dockerfile base along with the CI runner.I pivoted to using
cp
--interactive
-ly andecho
ing inn
so it would fail.Also: bumped a few different versions of things.