fix(ci): require explicit latest promotion on manual tag builds
This commit is contained in:
1 parent
406fcc2e52
commit
fd7fc29d11
2 files changed
+10
-5
No files matched your search
@@ -56,7 +56,7 @@ jobs:
|
||||
id: promotion
|
||||
run: |
|
||||
PROMOTE=false
|
||||
if [ "${{ github.ref_type }}" = "tag" ] || [ "${{ github.event.inputs.promote_latest }}" = "true" ]; then
|
||||
if { [ "${{ github.event_name }}" = "push" ] && [ "${{ github.ref_type }}" = "tag" ]; } || [ "${{ github.event.inputs.promote_latest }}" = "true" ]; then
|
||||
git fetch origin maintained-stable
|
||||
if git merge-base --is-ancestor HEAD FETCH_HEAD; then
|
||||
PROMOTE=true
|
||||
|
||||
Reference in new issue
Block a user