Repository navigation
Commit fba2e42
committed
fix(tool): push the tag, wait for a real answer, and number every build
Three defects, each of which let a release look like it had worked.
`--follow-tags` carries annotated tags only, and every release tag here is
lightweight, so it skipped the tag without a word: the branch landed, the
tag stayed local, and the workflow that triggers on it never fired.
v0.8.97-pre.1 was published that way. The tag is pushed by name now, which
works for either kind. The manual sequence in .agents/commands.md had the
same hole and is corrected with it.
The confirmation treated an empty answer as No, and rendering the preview
takes seconds, so a Return pressed while waiting sat in the terminal buffer
until the prompt consumed it and appeared to answer itself. It reads from
/dev/tty and re-asks instead. The bash that ships with macOS is 3.2, which
has neither a fractional read timeout nor a way to flush stdin, so re-asking
is the portable fix rather than draining what is already buffered. Declining
is no longer reported as an error.
The build number was refreshed only when the app version changed, so every
prerelease after the first in a cycle reused its predecessor's. It feeds
Android's versionCode, and two builds carrying the same one cannot be told
apart once installed. Only the build number moves: the app version has to
hold across a cycle because `build --unreleased` keys its commit range off
it, and a prerelease that advanced it would collect the wrong range.
Changelog: skip1 parent 4a028ba commit fba2e42
2 files changed
Lines changed: 25 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 4 | | |
18 | 5 | | |
19 | 6 | | |
| |||
89 | 76 | | |
90 | 77 | | |
91 | 78 | | |
92 | | - | |
93 | 79 | | |
94 | 80 | | |
95 | 81 | | |
| |||
104 | 90 | | |
105 | 91 | | |
106 | 92 | | |
107 | | - | |
108 | | - | |
109 | 93 | | |
110 | 94 | | |
111 | 95 | | |
112 | 96 | | |
113 | | - | |
114 | 97 | | |
115 | 98 | | |
116 | 99 | | |
| |||
148 | 131 | | |
149 | 132 | | |
150 | 133 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 134 | | |
157 | 135 | | |
158 | 136 | | |
| |||
163 | 141 | | |
164 | 142 | | |
165 | 143 | | |
166 | | - | |
167 | | - | |
168 | 144 | | |
| 145 | + | |
169 | 146 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 147 | | |
174 | 148 | | |
175 | 149 | | |
| |||
187 | 161 | | |
188 | 162 | | |
189 | 163 | | |
190 | | - | |
191 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
192 | 179 | | |
193 | 180 | | |
194 | 181 | | |
| |||
200 | 187 | | |
201 | 188 | | |
202 | 189 | | |
203 | | - | |
| 190 | + | |
204 | 191 | | |
205 | 192 | | |
206 | 193 | | |
| |||
212 | 199 | | |
213 | 200 | | |
214 | 201 | | |
215 | | - | |
| 202 | + | |
| 203 | + | |
216 | 204 | | |
217 | 205 | | |
218 | 206 | | |
219 | 207 | | |
220 | | - | |
| 208 | + | |
221 | 209 | | |
0 commit comments