.gitignore adapted. Build relay: removed develop branch dist dependency. Readme edited.

This commit is contained in:
stfwi 2020-08-02 17:13:45 +02:00
parent b9194062ab
commit e1e2221ae8
4 changed files with 17 additions and 14 deletions

View file

@ -261,9 +261,7 @@
const expected_commit_version = modversion.replace(/[-]/g,"") + "-mc" + mcversion;
if(!gittags.filter(function(s){return s.indexOf(expected_commit_version)>=0}).length) fails.push("No tag version on this commit matching the gradle properties version (should be v" + expected_commit_version + ").");
if(((!constants.options.without_ref_repository_check)) && (git_remote.replace(/[\s]/g,"").indexOf(constants.reference_repository() + "(push)") < 0)) fails.push("Not the reference repository.");
if(git_branch != "develop") {
fails.push("Not a valid branch for dist. (branch:'"+git_branch+"', must be 'develop')");
}
//if(git_branch != "develop") fails.push("Not a valid branch for dist. (branch:'"+git_branch+"', must be 'develop')");
if(git_diff !== "") fails.push("Not everything committed to the GIT repository.");
return fails;
};