Skip to content

Commit af7005c

Browse files
authored
Allow forcing by hand last release tag (#5123)
1 parent a80dfaf commit af7005c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/reports.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Automatically create CHANGELOG for O2 releases
33
on:
44
push:
55
workflow_dispatch:
6+
inputs:
7+
LAST_RELEASE_DATE:
8+
description: 'Time of the last release'
9+
required: true
10+
default: ''
611
schedule:
712
- cron: '0 0 * * *'
813

@@ -88,7 +93,8 @@ jobs:
8893
EOF
8994
# FIXME: this should really be one second after the last release
9095
# being published
91-
MERGED_AFTER=`date -v -14d +%Y-%m-%d`
96+
LAST_RELEASE="${{ github.event.inputs.LAST_RELEASE_DATE }}"
97+
MERGED_AFTER=${LAST_RELEASE:-$(date -v -14d +%Y-%m-%d)}
9298
9399
# Here we convert all the json files to per subsystem
94100
# logs, using the MERGED_AFTER date to further filter them.

0 commit comments

Comments
 (0)