Commit 2f9b18c
committed
release_dispatcher.sh: fix version array
The version variable is used as both an array and a scalar type in
release_dispatcher.sh. When being set to a scalar value and previously
being used as array, only the first array member is overwritten. This
leads to erroneous build dispatches because versions are mixed up.
We explicitly un-set the variable at the end of the version loop
We also check the presence of <extension>:<version> pairs in the build
array before adding new ones to prevent cases where "latest" and a
pinned version are identical
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>1 parent b0ba2c4 commit 2f9b18c
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
0 commit comments