mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Sync release 20250201 (#5440)
This commit is contained in:
commit
85a30e0394
2
.github/workflows/get-environment.yml
vendored
2
.github/workflows/get-environment.yml
vendored
@ -252,7 +252,7 @@ jobs:
|
|||||||
let version = '';
|
let version = '';
|
||||||
|
|
||||||
if ('${{ steps.get_stability.outputs.stability }}' === 'testing') {
|
if ('${{ steps.get_stability.outputs.stability }}' === 'testing') {
|
||||||
const branchName = "${{ github.ref_name }}";
|
const branchName = "${{ github.head_ref || github.ref_name }}";
|
||||||
const matches = branchName.match(/^(?:release|hotfix)-(\d{8})$/);
|
const matches = branchName.match(/^(?:release|hotfix)-(\d{8})$/);
|
||||||
if (matches) {
|
if (matches) {
|
||||||
version = matches[1];
|
version = matches[1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user