mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
73e0fdddd0
The `.sh` file extension is now used for all Bash scripts. This ensures the files are recognized as Bash scripts by the ShellCheck CI job, and by editors/IDEs for improved syntax highlighting.
15 lines
328 B
Bash
Executable File
15 lines
328 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -u
|
|
set -o pipefail
|
|
|
|
# Skip running e2e tests if the HEAD commit is tagged correctly
|
|
if git show --format='%B' --no-patch "$CIRCLE_SHA1" | grep --fixed-strings --quiet '[skip e2e]'
|
|
then
|
|
printf '%s\n' "$CIRCLE_SHA1 contains the tag '[skip e2e]' so e2e tests will not run"
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|