diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index 8f09b5b..df9e9e7 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -1,11 +1,11 @@ -name: Verify -on: - push: - branches: - - feature/changelog +name: Release +on: [workflow_dispatch] jobs: - changelog: + test: + uses: ./.github/workflows/verify.yaml + release: + needs: [test] runs-on: ubuntu-latest permissions: contents: write @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: "lts/*" + node-version: "20" - name: "Install dependencies" run: npm ci diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 29f48f0..64f7d5d 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -3,10 +3,12 @@ on: push: branches: - trunk + - feature/changelog paths-ignore: - - '.gitignore' - - 'CHANGELOG.md' - - 'README.org' + - .gitignore + - CHANGELOG.md + - README.org + workflow_call: jobs: test: diff --git a/.releaserc b/.releaserc index 694c653..e1739a7 100644 --- a/.releaserc +++ b/.releaserc @@ -30,6 +30,11 @@ "changelogTitle": "# Changelog" } ], - "@semantic-release/git" + [ + "@semantic-release/git", + { + "assets": ["CHANGELOG.md", "bydi.el", "Cask", "Makefile"] + } + ] ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 33e6ec3..0e94d14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,41 +1,5 @@ # Changelog -## [0.6.5](https://github.com/Walheimat/bydi/compare/v0.6.4...v0.6.5) (2024-01-27) - - -### Bug Fixes - -* **ci:** branch name ([1295348](https://github.com/Walheimat/bydi/commit/1295348cf7e9677620235bb634d2c7298fe504d0)) -* **ci:** configure changelog title ([93a30b6](https://github.com/Walheimat/bydi/commit/93a30b6294a810f094d6d9e65c07913aa05e19a1)) -* **ci:** run as publish again ([13ff246](https://github.com/Walheimat/bydi/commit/13ff2467d4d565ceb7cd46ef33d093b5c65c9759)) -* **ci:** run update during prepare ([af2cf73](https://github.com/Walheimat/bydi/commit/af2cf7380e260fdd50b6e0a1b3b3e1f89a1a960d)) -* **ci:** update dinghy ([c23052e](https://github.com/Walheimat/bydi/commit/c23052e87df851eaf9096215ae44c3832392bf7a)) - - -### Features - -* **ci:** add exec to update version in files ([8774445](https://github.com/Walheimat/bydi/commit/87744458afac4375e1b7528f55f3c97b727855c6)) - -## [0.6.5](https://github.com/Walheimat/bydi/compare/v0.6.4...v0.6.5) (2024-01-27) - - -### Bug Fixes - -* **ci:** branch name ([1295348](https://github.com/Walheimat/bydi/commit/1295348cf7e9677620235bb634d2c7298fe504d0)) -* **ci:** configure changelog title ([93a30b6](https://github.com/Walheimat/bydi/commit/93a30b6294a810f094d6d9e65c07913aa05e19a1)) -* **ci:** run update during prepare ([af2cf73](https://github.com/Walheimat/bydi/commit/af2cf7380e260fdd50b6e0a1b3b3e1f89a1a960d)) -* **ci:** update dinghy ([c23052e](https://github.com/Walheimat/bydi/commit/c23052e87df851eaf9096215ae44c3832392bf7a)) - - -### Features - -* **ci:** add exec to update version in files ([8774445](https://github.com/Walheimat/bydi/commit/87744458afac4375e1b7528f55f3c97b727855c6)) - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - ## [0.6.4] ### Added