Skip to content

Commit 2ac0679

Browse files
committed
feat: add eventsse chart
1 parent 69ec453 commit 2ac0679

4 files changed

Lines changed: 21 additions & 3 deletions

File tree

.github/workflows/eventrouter-release-pullrequest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- 'eventrouter/**'
7+
- '.github/workflows/eventrouter-release-pullrequest.yaml'
78
branches:
89
- main
910
workflow_dispatch:

.github/workflows/eventsse-chart-release-pullrequest.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,43 @@ jobs:
3636
set -euo pipefail
3737
git fetch --tags --force
3838
39+
echo "=== TAGS IN REPO (sorted) ==="
40+
git tag -l --sort=-version:refname | cat
41+
42+
echo
43+
echo "=== Searching latest tags for module '${{ env.MODULE }}' ==="
3944
APP_VERSION="$(
4045
git tag -l '${{ env.MODULE }}/*' --sort=-version:refname \
4146
| head -n1 || true
4247
)"
48+
echo "Raw APP_VERSION tag: '${APP_VERSION}'"
4349
4450
CHART_VERSION="$(
4551
git tag -l '${{ env.MODULE }}-chart/*' --sort=-version:refname \
4652
| head -n1 || true
4753
)"
54+
echo "Raw CHART_VERSION tag: '${CHART_VERSION}'"
4855
49-
# fallbacks
56+
echo
57+
echo "=== Applying fallbacks if empty ==="
5058
APP_VERSION="${APP_VERSION:-${{ env.MODULE }}/0.0.1}"
5159
CHART_VERSION="${CHART_VERSION:-${{ env.MODULE }}-chart/0.0.1}"
60+
echo "After fallback → APP_VERSION='${APP_VERSION}'"
61+
echo "After fallback → CHART_VERSION='${CHART_VERSION}'"
5262
53-
# strip prefix safely: keep only the bit after the last '/'
63+
echo
64+
echo "=== Stripping prefix (keep only part after last '/') ==="
5465
APP_VERSION="${APP_VERSION##*/}"
5566
CHART_VERSION="${CHART_VERSION##*/}"
67+
echo "After strip → APP_VERSION='${APP_VERSION}'"
68+
echo "After strip → CHART_VERSION='${CHART_VERSION}'"
5669
70+
echo
71+
echo "=== Final results written to GITHUB_OUTPUT ==="
5772
{
5873
echo "APP_VERSION=$APP_VERSION"
5974
echo "CHART_VERSION=$CHART_VERSION"
60-
} >> "$GITHUB_OUTPUT"
75+
} | tee -a "$GITHUB_OUTPUT"
6176
6277
- name: Echo
6378
run: |

.github/workflows/eventsse-release-pullrequest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- 'eventsse/**'
7+
- '.github/workflows/eventsse-release-pullrequest.yaml'
78
branches:
89
- main
910
workflow_dispatch:

.github/workflows/sweeper-release-pullrequest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- 'sweeper/**'
7+
- '.github/workflows/sweeper-release-pullrequest.yaml'
78
branches:
89
- main
910
workflow_dispatch:

0 commit comments

Comments
 (0)