mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
refactor(git-hooks): use long set
names
Use the long name versions for `set` to be consistent with `run` files.
This commit is contained in:
parent
8eb8a9d6e3
commit
ebc4d899b2
|
@ -11,6 +11,10 @@
|
||||||
* The `pre-push` Git hook should use `./run test:commit` instead of `just test-commit` since `just` is no longer used.
|
* The `pre-push` Git hook should use `./run test:commit` instead of `just test-commit` since `just` is no longer used.
|
||||||
* Recursively merge `build.defaults.yaml` into the given configuration.
|
* Recursively merge `build.defaults.yaml` into the given configuration.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Replace `set -ueo` in Git hook templates to use the long names and be consistent with `run` scripts.
|
||||||
|
|
||||||
## 2023-11-22
|
## 2023-11-22
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
# {{ managedText }}
|
# {{ managedText }}
|
||||||
|
|
||||||
set -euo pipefail
|
set -o errexit
|
||||||
|
|
||||||
./run test:commit
|
./run test:commit
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
# This also works with multiple issue IDs in the same string, e.g.
|
# This also works with multiple issue IDs in the same string, e.g.
|
||||||
# "OD-123 OD-456", or IDs on multiple lines.
|
# "OD-123 OD-456", or IDs on multiple lines.
|
||||||
|
|
||||||
set -euo pipefail
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
PROJECT_DIR=$(git rev-parse --show-toplevel)
|
PROJECT_DIR=$(git rev-parse --show-toplevel)
|
||||||
ISSUE_FILE="$PROJECT_DIR/.issue-id"
|
ISSUE_FILE="$PROJECT_DIR/.issue-id"
|
||||||
|
|
Loading…
Reference in a new issue