AppImage / AppImage/appimage.github.io

Travis CI uses wrong changeset to build

未关闭
#1,168 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
374
派生
769
平均合并
4 天 10 小时
30 天内合并 PR
8

描述

```
(master) _____ ____________ update text in file A _____
\
\___ add file "C" ______
(branch1)
```

Expected changeset for `branch1` should be `add file "C"`
Currently the changeset is `add file "C"` && `update text in file A`

It appears that we currently compare the current master branch with the branch1.
What we want to do is, compare `branch1` with master at the time the branch diverted from master.

We currently use this snippet to calculate the changeset.
https://github.com/AppImage/appimage.github.io/blob/f3da57cbd6b35478deaa3b412ebd2cfdd74ae0c5/.travis.yml#L29

If I'm not mistaken `git log master..HEAD -p data` should calculate the changeset for the current branch.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。