Commit ac4a4fd
committed
fix(ci): harden release workflow tag check and prev-tag filtering
1. Use refs/tags/ for tag existence check to avoid matching branches
2. Compare tag SHA to current commit — fail loudly if tag exists on a
different commit instead of silently skipping the release
3. Use grep -xv for exact-match exclusion so v0.2.3 doesn't filter
out v0.2.30 when finding the previous tag for release notes1 parent 98a3b2f commit ac4a4fd
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| |||
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
62 | | - | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
0 commit comments