[Android] Allow tag beta syntax to start a release job

Nicolas Pomepuy git at videolan.org
Thu Sep 3 14:29:25 CEST 2020


vlc-android | branch: refs/tags/3.3.0 | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Aug 14 12:26:05 2020 +0200| [c32d266d3a198e16cd1d0c17b33e7f1ee4cd27eb] | committer: Nicolas Pomepuy

Allow tag beta syntax to start a release job

> https://code.videolan.org/videolan/vlc-android/commit/c32d266d3a198e16cd1d0c17b33e7f1ee4cd27eb
---

 buildsystem/gitlab/.gitlab-ci.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index 7aa2db958..a920af87a 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -180,10 +180,8 @@ publish_libs:
 
 release:
     extends: .build-all-base
-    only:
-        - /^(\d+\.)?(\d+\.)?(\*|\d+)$/
-    except:
-        - branches
+    rules:
+        - if: '$CI_COMMIT_TAG =~ /^(\d+\.)?(\d+\.)?(\*|\d+)/'
     script:
         - ./buildsystem/compile.sh --init
         - ./gradlew assembleRelease



More information about the Android mailing list