mirror of
https://github.com/CodelyTV/pr-size-labeler.git
synced 2025-02-21 12:31:01 -05:00
16 lines
291 B
Bash
Executable file
16 lines
291 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
PR_SIZE_LABELER_HOME="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
|
|
if [ "$PR_SIZE_LABELER_HOME" == "/" ]; then
|
|
PR_SIZE_LABELER_HOME=""
|
|
fi
|
|
|
|
export PR_SIZE_LABELER_HOME
|
|
|
|
source "$PR_SIZE_LABELER_HOME/src/main.sh"
|
|
|
|
main "$@"
|
|
|
|
exit $?
|