[GHA] Treat v1.11 as a release branch (#2873)

* [GHA] Add `v1.11` branch target
* [GHA] Treat `v1.11` as a release branch

---------

Co-authored-by: Andrey Volk <andywolk@gmail.com>
This commit is contained in:
Serhii IvanovandAndrey Volk authored and GitHub committed 2026-05-07 18:19:08 +03:00
1 parent 8babcee3ea
commit 1a97ed38e6
7 files changed
+12 -8

No files matched your search

+5 -4
View File
@@ -6,6 +6,7 @@ on:
branches:
- master
- v1.10
- v1.11
paths:
- "**"
workflow_dispatch:
@@ -68,14 +69,14 @@ jobs:
id: release
run: |
if [[ '${{ github.event_name }}' == 'pull_request' ]]; then
if [[ '${{ github.base_ref }}' == 'v1.10' ]]; then
if [[ '${{ github.base_ref }}' == 'v1.10' || '${{ github.base_ref }}' == 'v1.11' ]]; then
echo 'release=release' | tee -a $GITHUB_OUTPUT
else
echo 'release=unstable' | tee -a $GITHUB_OUTPUT
fi
elif [[ '${{ github.event_name }}' == 'workflow_dispatch' ]]; then
echo 'release=${{ inputs.release }}' | tee -a $GITHUB_OUTPUT
elif [[ '${{ github.ref }}' == 'refs/heads/v1.10' ]]; then
elif [[ '${{ github.ref }}' == 'refs/heads/v1.10' || '${{ github.ref }}' == 'refs/heads/v1.11' ]]; then
echo 'release=release' | tee -a $GITHUB_OUTPUT
else
echo 'release=unstable' | tee -a $GITHUB_OUTPUT
@@ -157,7 +158,7 @@ jobs:
(
github.event_name == 'push' &&
github.repository == 'signalwire/freeswitch' &&
contains(fromJSON('["master", "v1.10"]'), github.ref_name)
contains(fromJSON('["master", "v1.10", "v1.11"]'), github.ref_name)
) ||
(github.event_name == 'workflow_dispatch' && inputs.publish)
}}
@@ -192,7 +193,7 @@ jobs:
${{
github.event_name == 'push' &&
github.repository == 'signalwire/freeswitch' &&
contains(fromJSON('["master", "v1.10"]'), github.ref_name)
contains(fromJSON('["master", "v1.10", "v1.11"]'), github.ref_name)
}}
needs:
- deb-public