Commit d9618fe
authored
MINOR: [Release] Make post-08-remove-old-artifacts.sh crossplatform (apache#47250)
### Rationale for this change
`dev/release/post-08-remove-old-artifacts.sh` uses [`tac`](https://man7.org/linux/man-pages/man1/tac.1.html) which may not be available on non-Linuxes. We should be able to get its same behavior with more common utilities.
### What changes are included in this PR?
Swaps the call to `tac` with `sort --version-sort` which should be equivalent.
### Are these changes tested?
Yes. This shouldn't impact which artifacts are removed, just the order in which they are.
### Are there any user-facing changes?
No.
Authored-by: Bryce Mecum <[email protected]>
Signed-off-by: Bryce Mecum <[email protected]>1 parent 22676fe commit d9618fe
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
0 commit comments