Commit 37a24b3
committed
Count the beta prerelease number just from master
We were computing a merge-base between the remote beta and master
branches, but this was giving incorrect answers for the first beta if
the remote hadn't been pushed yet. For instance, `1.45.0-beta.3359`
corresponds to the number of merges since the 1.44 beta, but we really
want just `.1` for the sole 1.45 beta promotion merge.
We don't really need to query the remote beta at all -- `master..HEAD`
suffices if we assume that we're on the intended beta branch already.1 parent 3d5d0f8 commit 37a24b3
1 file changed
+4
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
983 | 969 | | |
984 | 970 | | |
985 | 971 | | |
986 | 972 | | |
987 | 973 | | |
988 | | - | |
| 974 | + | |
989 | 975 | | |
990 | 976 | | |
991 | 977 | | |
| |||
0 commit comments