diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 863a851..3a0d29d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - run: npm ci - run: npm run lint - run: tsc --build --dry - release-sementic: + release: env: GH_TOKEN: ${{ secrets.GH_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} diff --git a/.releaserc.yml b/.releaserc.yml index 5a8eaeb..79e52f8 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -24,44 +24,21 @@ release: release: "major" generateNotes: - path: "@semantic-release/release-notes-generator" - writerOpts: - groupBy: "type" - commitGroupsSort: - - "feat" - - "perf" - - "fix" - commitsSort: "header" types: - type: "feat" - section: "Features" # Tracked bug fix with a hotfix branch - type: "hotfix" - section: "Bug Fixes" - # Uninmportent fix (CI testing, etc) - - type: "fix" - - hidden: true - - type: "chore" - - hidden: true - - type: "docs" - - hidden: true - - type: "doc" - - hidden: true - - type: "style" - - hidden: true - - type: "refactor" - - hidden: true - - type: "perf" - - hidden: true - - type: "test" - - hidden: true presetConfig: true prepare: - path: "@semantic-release/changelog" - changelogFile: "CHANGELOG.md" + changelogFile: "docs/CHANGELOG.md" + changelogTitle: "# Changelog" - path: "@semantic-release/git" assets: - "package.json" - - "CHANGELOG.md" + - "docs/CHANGELOG.md" publish: - path: "@semantic-release/github" - path: "@semantic-release/exec" diff --git a/CHANGELOG.md b/docs/CHANGELOG.md similarity index 100% rename from CHANGELOG.md rename to docs/CHANGELOG.md