diff --git a/tasks/other-dev-generated-files.yaml b/tasks/other-dev-generated-files.yaml index daff21b..2d2287a 100644 --- a/tasks/other-dev-generated-files.yaml +++ b/tasks/other-dev-generated-files.yaml @@ -2,8 +2,8 @@ block: - name: generate semantic-release config file ansible.builtin.template: - src: ./templates/release.config.mjs.j2 - dest: "{{ repo_path }}/release.config.mjs" + src: ./templates/.releaserc.cjs.j2 + dest: "{{ repo_path }}/.releaserc.cjs" - name: find workflow extensions ansible.builtin.command: "./library/list_extension_workflows.py '{{ repo_path }}'" diff --git a/templates/release.config.mjs.j2 b/templates/.releaserc.cjs.j2 similarity index 98% rename from templates/release.config.mjs.j2 rename to templates/.releaserc.cjs.j2 index 21a82b4..da7b521 100644 --- a/templates/release.config.mjs.j2 +++ b/templates/.releaserc.cjs.j2 @@ -6,7 +6,7 @@ /** * @type {import('semantic-release').GlobalConfig} */ -export default { +module.exports = { branches: ["{{ repo.github.default_branch }}"], debug: "True", plugins: [