fix: CI: define PROJECT_ROOT
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2022-12-18 22:09:04 +05:30
parent d9b1befaa2
commit da917bce95
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -73,6 +73,7 @@ clean() {
# $2: directory containing build assets # $2: directory containing build assets
# $3: Author in <author-name author@example.com> format # $3: Author in <author-name author@example.com> format
write_to_branch() { write_to_branch() {
readonly PROJECT_ROOT=$(pwd)
cd $PROJECT_ROOT cd $PROJECT_ROOT
original_branch=$(git branch --show-current) original_branch=$(git branch --show-current)
tmp_dir=$(mktemp -d) tmp_dir=$(mktemp -d)