ankidroid / ankidroid/Anki-Android

CI publishing workflow items

Aperta
#18,909 9 commenti 0 reazioni 1 assegnatario Rivendicata da @mikehardy Vedi su GitHub
Lingua principale
Kotlin
Stelle
11.8k
Fork
2.9k
Merge medio
2g 3h
PR unite (30g)
171

Descrizione

- 2.22alpha4 had some sort of subtle versioning info that related to an attempt to publish again, such that the version commit either did not get pushed back to github or was overwritten somehow, because 2.22alpha5 didn't publish - it still thought it should be 2.22alpha4 but that version code was already used on play store

last successful run - looks like something merged at the same time the publish was running 😔

```

! [rejected] main -> main (fetch first)
error: failed to push some refs to 'github.com:ankidroid/Anki-Android'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
```

second run:
https://github.com/ankidroid/Anki-Android/actions/runs/16333634319/job/46141394832#step:10:16

```
Bumping version from 2.22alpha3 to 2.22alpha4 (and code from 22200103 to 22200104)
Committing changelog and version bump via git
[main 723b52e] Bumped version to 2.22alpha4
```

- apparently some of the parallel file copies are slightly wrong?

https://github.com/ankidroid/Anki-Android/actions/runs/16250576763/job/45879674699#step:10:2674

```
Adding parallel build A to Github release
cp: 'AnkiDroid-2.22alpha4.parallel.A.apk' and 'AnkiDroid-2.22alpha4.parallel.A.apk' are the same file
Adding parallel build B to Github release
cp: 'AnkiDroid-2.22alpha4.parallel.B.apk' and 'AnkiDroid-2.22alpha4.parallel.B.apk' are the same file
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.