From: Serhii Ivanov <11349489+s3rj1k@users.noreply.github.com> Date: Thu, 7 May 2026 15:19:08 +0000 (+0200) Subject: [GHA] Treat v1.11 as a release branch (#2873) X-Git-Tag: v1.11.0^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a97ed38e66910ffa2d8019a5a4f6e39e20dd666;p=thirdparty%2Ffreeswitch.git [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 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46cb2e47f2..6cd13d8322 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a774108e0..0d65a6171a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: - master - v1.10 + - v1.11 pull_request: types: - opened diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5dd889689b..24546bfbb3 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -6,10 +6,12 @@ on: branches: - master - v1.10 + - v1.11 pull_request: branches: - master - v1.10 + - v1.11 jobs: build: diff --git a/.github/workflows/scan-build.yml b/.github/workflows/scan-build.yml index a5b77a5dce..5617f3a688 100644 --- a/.github/workflows/scan-build.yml +++ b/.github/workflows/scan-build.yml @@ -91,7 +91,7 @@ jobs: if: | failure() && github.event_name == 'push' && - (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10') + (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11') uses: signalwire/actions-template/.github/actions/slack@main with: CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }} diff --git a/.github/workflows/unit-test-dind.yml b/.github/workflows/unit-test-dind.yml index ca3abd5a6f..082763c07e 100644 --- a/.github/workflows/unit-test-dind.yml +++ b/.github/workflows/unit-test-dind.yml @@ -91,7 +91,7 @@ jobs: if: | failure() && github.event_name == 'push' && - (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10') + (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11') uses: signalwire/actions-template/.github/actions/slack@main with: CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }} diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 6a9e15bfd9..32c1b2c580 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -128,7 +128,7 @@ jobs: if: | failure() && github.event_name == 'push' && - (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10') + (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11') uses: signalwire/actions-template/.github/actions/slack@main with: CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f11b45ab79..fb1a98770a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -40,4 +40,4 @@ jobs: with: name: MSI Package path: D:\a\freeswitch\freeswitch\x64\*.msi - if: contains(github.event.pull_request.title, ':upload-artifacts') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' + if: contains(github.event.pull_request.title, ':upload-artifacts') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11'