Update workflow base_version to 3.5.1 and adjust branch reference for patch release

This commit is contained in:
Sipke Schoorstra 2025-08-20 14:13:38 +02:00
parent 2175a3470a
commit 51d8c99775
No known key found for this signature in database
GPG key ID: 5C10502B28A4268F

View file

@ -15,7 +15,7 @@ on:
release:
types: [ prereleased, published ]
env:
base_version: '3.5.0'
base_version: '3.5.1'
feedz_feed_source: 'https://f.feedz.io/elsa-workflows/elsa-3/nuget/index.json'
nuget_feed_source: 'https://api.nuget.org/v3/index.json'
@ -48,7 +48,7 @@ jobs:
run: |
if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && ("${{ github.event.action }}" == "published" || "${{ github.event.action }}" == "prereleased")]]; then
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git branch --remote --contains | grep origin/develop/3.5.0
git branch --remote --contains | grep origin/patch/3.5.1
else
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git branch --remote --contains | grep origin/${BRANCH_NAME}