You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2021/06/01 15:39:05 UTC

[incubator-nuttx-website] branch master updated: .github/workflows/main.yml: Quote email and name before using them with git.

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git


The following commit(s) were added to refs/heads/master by this push:
     new c76ddf1  .github/workflows/main.yml: Quote email and name before using them with git.
c76ddf1 is described below

commit c76ddf1faec778b7b33472eb1385956fdd191843
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Tue Jun 1 16:29:26 2021 +0100

    .github/workflows/main.yml: Quote email and name before using them with
    git.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 .github/workflows/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 59c99fe..8d640f7 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -69,8 +69,8 @@ jobs:
       run: |
         export GEM_HOME=$HOME/.gem
         export PATH=$PATH:$GEM_HOME/bin
-        username=`git log -1 --pretty=format:'%an'`
-        email=`git log -1 --pretty=format:'%ae'`
+        username="`git log -1 --pretty=format:'%an'`"
+        email="`git log -1 --pretty=format:'%ae'`"
         git config --global user.name $username
         git config --global user.email $email
         ./publish.sh