apps/web/Dockerfile invokes scripts/docker-link-repos.sh and scripts/docker-package.sh directly (no bash prefix) - without +x this fails immediately on any fresh clone/full rebuild. The same bug also affects fetchdep.sh, get-version-from-git.sh, layered.sh, normalize-version.sh, and playwright-common/playwright-screenshots.sh, all invoked directly the same way by this repo's own GitHub Actions workflows (build.yml, tests.yml, static_analysis.yaml, docs.yml) - so this was also silently breaking CI, not just Docker builds.
11 lines
222 B
Bash
Executable File
11 lines
222 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# If $1 looks like v1.2.3 or v1.2.3-foo, strip the leading v, then print it to stdout
|
|
if [[ $1 =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then
|
|
echo ${1:1}
|
|
else
|
|
echo $1
|
|
fi
|