Skip to content

Commit

Permalink
Restore previous release draft config
Browse files Browse the repository at this point in the history
  • Loading branch information
makubacki committed Nov 14, 2024
1 parent e0359a0 commit 2032750
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .sync/workflows/config/release-draft/release-draft-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ tag-template: 'v$RESOLVED_VERSION'
{# `release_branch` applies a commitish. `latest` then determines the branch to use. -#}
{# If a commitish is not specified, then the `github.ref` value is implicitly used. -#}
{%- if release_branch %}
{%- set latest_mu_dev_branch = "refs/heads/" + (sync_version.latest_mu_release_branch | replace("release", "dev")) %}
{%- set previous_mu_dev_branch = "refs/heads/" + (sync_version.previous_mu_release_branch | replace("release", "dev")) %}
{% set actual_branch = latest_mu_dev_branch if latest else previous_mu_dev_branch %}
commitish: {{ actual_branch }}
{% set release_branch = "refs/heads/" + (sync_version.latest_mu_release_branch if latest else sync_version.previous_mu_release_branch) %}
commitish: {{ release_branch }}
filter-by-commitish: true
include-labels: "type:backport"
latest: {{ latest | string }}
{% endif %}

template: |
Expand Down

0 comments on commit 2032750

Please sign in to comment.