Sync release 20250201 (#5440)

This commit is contained in:
pkippes 2025-02-07 15:36:45 +01:00 committed by GitHub
commit 85a30e0394
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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];