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 af38535 commit f1f778aCopy full SHA for f1f778a
1 file changed
Makefile.js
@@ -79,7 +79,8 @@ target.releaseNext = () => {
79
80
target.releaseLatest = async () => {
81
const currentBranch = exec('git rev-parse --abbrev-ref HEAD').stdout.trim();
82
- if (currentBranch !== 'master') {
+ console.log(`Current branch: ${currentBranch}`);
83
+ if (!process.env.GITHUB_ACTIONS && currentBranch !== 'master') {
84
console.error('Must be on `master` branch to cut an @latest release.');
85
return;
86
}
0 commit comments