[Android] Allow tag beta syntax to start a release job
Nicolas Pomepuy
git at videolan.org
Sun Aug 16 21:12:47 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Aug 14 12:26:05 2020 +0200| [25ea45a548ee96cd1299094494cc172675d80652] | committer: Nicolas Pomepuy
Allow tag beta syntax to start a release job
> https://code.videolan.org/videolan/vlc-android/commit/25ea45a548ee96cd1299094494cc172675d80652
---
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