ankidroid / ankidroid/Anki-Android

CI publishing workflow items

未关闭
#18,909 9 条评论 0 个 reaction 已指派 1 人 已被 @mikehardy 认领 在 GitHub 查看
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
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 摘要。