Skip to content

Commit

Permalink
add env generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Jun 6, 2024
1 parent 5af1ecf commit 03dfdd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packs/fetch/build/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ cd /app
git config --global --add safe.directory /app #Mark git directory as safe
git clone --recurse-submodules $GIT_REPOSITORY .
git checkout $GIT_BRANCH
git log -n1 --pretty=format:'export REF_NAMES="%D"%nexport COMMIT=%H%nexport AUTHOR=%an%nexport AUTHOR_EMAIL=%ae%nexport DATE="%ad"%nexport SUBJECT="%s"%nexport BODY="%b"%n' > kubero_commit.env

rm -rf .git

echo "========== write startupscripts based on Procfile"
Expand Down

0 comments on commit 03dfdd6

Please sign in to comment.