Skip to content

Commit

Permalink
fix: update isMainBranch variable with the correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyzif committed Oct 29, 2024
1 parent e979b19 commit d255ed9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const isMainBranch = process.env.GITHUB_REF === 'refs/heads/main';
console.log("Is main branch:", isMainBranch);
console.log("Is main branch:", process.env); // This will output true or false based on the branch
const isMainBranch = process.env.GITHUB_REF_NAME === 'chore/dependency-upgrades';

module.exports = {
branches: [
Expand Down

0 comments on commit d255ed9

Please sign in to comment.