mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 19:15:45 +00:00
6255225863
- Print out the ECP Pipeline url.
15 lines
354 B
Bash
Executable File
15 lines
354 B
Bash
Executable File
#!/bin/bash -e
|
|
# shellcheck disable=SC2155
|
|
|
|
git rev-parse @ > ./ORIGINAL_COMMIT_SHA
|
|
git add ./ORIGINAL_COMMIT_SHA
|
|
|
|
readonly name="$(git show --quiet --format='%cn')"
|
|
readonly email="$(git show --quiet --format='%ce')"
|
|
|
|
git config --global user.name "$name"
|
|
git config --global user.email "$email"
|
|
git commit --amend --no-edit -a
|
|
|
|
git rev-parse @ > "$1"
|