File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 54
54
55
55
- name : Check release
56
56
run : |
57
- uv run --script scripts/release.py --dry-run "${{ matrix.directory }}" "${{ needs.prepare.outputs.last_release }}"
57
+ uv run --script scripts/release.py --dry-run "${{ matrix.directory }}" "${{ needs.prepare.outputs.last_release }}" | tee -a "$GITHUB_OUTPUT"
58
+
59
+ check-tag :
60
+ needs : [prepare, check-release]
61
+ runs-on : ubuntu-latest
62
+ steps :
63
+ - uses : actions/checkout@v4
64
+
65
+ - name : Simulate tag creation
66
+ run : |
67
+ if [ -s "$GITHUB_OUTPUT" ]; then
68
+ DATE=$(date +%Y.%m.%d)
69
+ echo "🔍 Dry run: Would create tag v${DATE} if this was a real release"
70
+
71
+ echo "# Release ${DATE}" > notes.md
72
+ echo "" >> notes.md
73
+ echo "## Updated Packages" >> notes.md
74
+ while IFS= read -r line; do
75
+ echo "- ${line}" >> notes.md
76
+ done < "$GITHUB_OUTPUT"
77
+
78
+ echo "🔍 Would create release with following notes:"
79
+ cat notes.md
80
+ fi
Original file line number Diff line number Diff line change 33
33
release :
34
34
needs : prepare
35
35
runs-on : ubuntu-latest
36
+ environment : release
36
37
strategy :
37
38
matrix :
38
39
directory : ${{ fromJson(needs.prepare.outputs.matrix) }}
You can’t perform that action at this time.
0 commit comments