You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/12/06 03:57:46 UTC

[incubator-nuttx-website] branch master updated: doc build: fix NUTTX_VERSIONS, ignore RC releases

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

xiaoxiang 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 2a72725  doc build: fix NUTTX_VERSIONS, ignore RC releases
2a72725 is described below

commit 2a727256b61552b01127e23ffaff1604fa84c2b4
Author: Matias N <ma...@protobits.dev>
AuthorDate: Sat Dec 5 22:19:45 2020 -0300

    doc build: fix NUTTX_VERSIONS, ignore RC releases
---
 .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 404779b..019b13a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -38,8 +38,8 @@ jobs:
         DOCDIR=../../docs
         rm -rf $DOCDIR
 
-        NUTTX_TAGS=$(git tag -l nuttx-10*)
-        export NUTTX_VERSIONS=$(echo $NUTTX_TAGS | sed -r 's|^nuttx-||g')
+        NUTTX_TAGS=$(git tag -l 'nuttx-10*' | fgrep -v RC)
+        export NUTTX_VERSIONS=$(echo -n $NUTTX_TAGS | sed -r 's|^nuttx-||g' | tr '\n' ',')
         for nuttx_version in $NUTTX_TAGS master; do
           git checkout -f $nuttx_version
           pipenv install