[gtk-web/latest-stable: 1/2] Point to the latest 4.0 stable release




commit ea6a114c7970ef5f726942b8edd23deb5df2791c
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Dec 16 13:07:09 2020 +0000

    Point to the latest 4.0 stable release
    
    Now that we have it.
    
    Drop the "latest devel", since we cannot get the tags using a regular
    expression.

 _pages/index.html | 2 --
 setup.sh          | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/_pages/index.html b/_pages/index.html
index 4845e367..fb42f2a5 100644
--- a/_pages/index.html
+++ b/_pages/index.html
@@ -106,8 +106,6 @@ news_and_events_list:
         </div><!-- dropdown-->
         <div>
           <span class="text-light"><span class="small text-info">Latest stable</span> v{{ 
site.data.api_fetch.stable_tags[0].name }}</span>
-          <span class="text-info mx-2">&bull;</span>
-          <span class="text-light"><span class="small text-info">Latest devel</span> v{{ 
site.data.api_fetch.devel_tags[0].name }}</span>
         </div>
       </div>
       <div class="col-lg-6 d-flex justify-content-center align-items-center">
diff --git a/setup.sh b/setup.sh
index 8cc706d2..d529cf39 100755
--- a/setup.sh
+++ b/setup.sh
@@ -11,8 +11,8 @@ bundle install
 echo 'creating directory for storing api results...'
 mkdir _data/api_fetch
 echo 'getting the api data from the gitlab...'
-curl -o- https://gitlab.gnome.org/api/v4/projects/665/repository/tags?search=^3.24 > 
_data/api_fetch/stable_tags.json
-curl -o- https://gitlab.gnome.org/api/v4/projects/665/repository/tags?search=^3.9 > 
_data/api_fetch/devel_tags.json
+curl -o- https://gitlab.gnome.org/api/v4/projects/665/repository/tags?search=^3.24 > 
_data/api_fetch/old_stable_tags.json
+curl -o- https://gitlab.gnome.org/api/v4/projects/665/repository/tags?search=^4.0 > 
_data/api_fetch/stable_tags.json
 echo 'successfully fetched gtk-release-tags'
 curl -o- https://api.rss2json.com/v1/api.json?rss_url=https%3A%2F%2Fblog.gtk.org%2Ffeed%2F > 
_data/api_fetch/gtk-blog-feed.json
 echo 'successfully fetched the gtk blog feed in json format'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]