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

btashton 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 b5f9f15  CI: Fix handling of NUTTX_VERSIONS (missing quote)
b5f9f15 is described below

commit b5f9f15ea0a08ad7e52e24f580a88a7c2b9a085d
Author: Matias N <mat...@protobits.dev>
AuthorDate: Wed Dec 9 14:39:29 2020 -0300

    CI: Fix handling of NUTTX_VERSIONS (missing quote)
---
 .github/workflows/main.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 019b13a..59c99fe 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -38,8 +38,11 @@ jobs:
         DOCDIR=../../docs
         rm -rf $DOCDIR
 
-        NUTTX_TAGS=$(git tag -l 'nuttx-10*' | fgrep -v RC)
-        export NUTTX_VERSIONS=$(echo -n $NUTTX_TAGS | sed -r 's|^nuttx-||g' | 
tr '\n' ',')
+        NUTTX_TAGS=$(git tag -l 'nuttx-1?.*' | fgrep -v RC)
+        export NUTTX_VERSIONS=$(echo -n "$NUTTX_TAGS" | sed -r 's|^nuttx-||g' 
| tr '\n' ',')
+        
+        echo "Building documentation for nuttx: $NUTTX_VERSIONS (and master)"
+
         for nuttx_version in $NUTTX_TAGS master; do
           git checkout -f $nuttx_version
           pipenv install

Reply via email to