Commit 7016028
authored
fix(ci): download builddeck.tag from release_build step for reliable release handoff (#82)
The release step always got a fresh workspace, so the local
builddeck.tag file from release_build was never available. The
release step always skipped with 'No tag was created'.
Fix:
- release_build now re-uploads builddeck.tag (downloaded from tag
step) under its own step key, so the artifact is immediately
available to downstream steps.
- release downloads from --step release_build (the step that just
ran) instead of checking a local file. Includes the [[ -s
builddeck.tag ]] content guard to prevent empty-version crashes.
- Conditional upload: builddeck.tag is only uploaded from
release_build if it exists and has content (i.e., a tag was
created). 'dev' builds are not uploaded.1 parent d976c6e commit 7016028
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
107 | 113 | | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
112 | | - | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
0 commit comments