We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f604b38 commit e7bf4f2Copy full SHA for e7bf4f2
1 file changed
.github/workflows/compare_pr_to_master.v
@@ -94,7 +94,12 @@ fn main() {
94
}
95
r('rm -rf vnew1 vnew2')
96
97
- r('git checkout master')
+ // make sure to always compare against the main V repo's master branch:
98
+ os.execute('git -C . remote add V_REPO https://github.com/vlang/v.git')
99
+ os.execute('git -C . fetch V_REPO')
100
+ os.execute('git branch -D v_repo_master')
101
+ os.execute('git branch -f --track v_repo_master V_REPO/master')
102
+ r('git checkout v_repo_master')
103
master_branch := gbranch()
104
hline(' Compiling old V executables from branch: ${master_branch}, commit: ${gcommit()} ...')
105
xtime('./v -o vold1 cmd/v')
0 commit comments