text: const path = require('path');
  const fs = require('fs');
  // Given a `const` variable `TEMPLATE_DIR` which points to "<semantic-release-gitmoji>/lib/assets/templates"
  
  // the *.hbs template and partials should be passed as strings of contents
  const template = fs.readFileSync(path.join('semantic-release-templates', 'default-template.hbs'))
  const commitTemplate = fs.readFileSync(path.join('semantic-release-templates', 'commit-template.hbs'))
  
  module.exports = {
    branches: ["main" ,{
      name:"develop",
      prerelease: true
    }],
    plugins: [
      [
        'semantic-release-gitmoji', {
        releaseRules: {
          major: [ ':boom:' ],
          minor: [ ':sparkles:', ':sparkle' ],
          patch: [
            ':bug:',
            ':ambulance:',
            ':lock:'
          ]
        },
        releaseNotes: {
          template,
          partials: { commitTemplate },
          helpers: {
            datetime: function () {
              const date = new Date();
              return date.toLocaleString('en-US', {
                weekday: 'short',
                month: 'long',
                day: '2-digit',
                year: 'numeric'
              });
            }
          },
          issueResolution: {
            template: '{baseUrl}/{owner}/{repo}/issues/{ref}',
            baseUrl: 'https://github.com',
            source: 'github.com'
          }
        }
      }
      ],
      '@semantic-release/github',
      '@semantic-release/npm'
    ],
    tagFormat: '${version}',
  
  
  }