From 76efa3691b145ca9f36ba2b35a61702ba22f2eb6 Mon Sep 17 00:00:00 2001
From: Dorchies David <david.dorchies@irstea.fr>
Date: Wed, 29 Apr 2020 17:11:28 +0200
Subject: [PATCH] ci: debug checking the package of the good build

- in 26b0e4ed packages has been renamed but the naming is not able to differenciate airGR_*.tar.gz

Refs #55
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cc7dbae5..082c3a97 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ default:
   before_script:
     - echo "setwd(\"$(pwd)\")" > .Rprofile
     - PATH=~/R/sources/R-${R_VERSION}/bin:$PATH
-    - rename "s/.${R_VERSION}.t/.t/" airGR_*.tar.gz
+    - rename "s/${R_VERSION}.airGR/airGR/" *.tar.gz
 
 .update_packages:
   stage: update_packages
@@ -24,7 +24,7 @@ default:
     - cd ..
     - echo "setwd(\"$(pwd)\")" > .Rprofile
     - R CMD build airgr
-    - rename "s/.t/.${R_VERSION}.t/" airGR_*.tar.gz
+    - rename "s/airGR/${R_VERSION}.airGR/" airGR_*.tar.gz
     - mv *.tar.gz airgr/
   artifacts:
     untracked: true
-- 
GitLab