Removed "release" target, changed "release-nightly" to support build channels
Don't upload if it's not from the main repository
All branches of the main repository can now go through nightly
Retrieve latest config from master branch before building
Merge pull request #2980 from dinhviethoa/2774-build-channels

support several release channels