ankidroid / ankidroid/Anki-Android

CI publishing workflow items

オープン
#18,909 コメント 9 件 リアクション 0 件 担当者 1 名 @mikehardy が担当を希望しています GitHub で見る
主要言語
Kotlin
スター
11.8k
フォーク
2.9k
平均マージ
2日 3時間
マージ済み PR(30日)
171

説明

- 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
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。