Skip to content

Commit

Permalink
fix(cocogitto): fix change log generation
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 22, 2023
1 parent 3c7a57d commit 91abc8a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 46 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.

- - -
## [v2.0.1](https://github.com/abougouffa/minemacs/compare/v2.0.0..v2.0.1) - 2023-10-22
#### Bug Fixes
- **(evil)** evil repeat error - ([69b2258](https://github.com/abougouffa/minemacs/commit/69b22581e7a7e1391141042de5402438186f1450)) - donneyluck
- **(ts-fold)** ensure enabling on `yaml-ts-mode` - ([d3565cc](https://github.com/abougouffa/minemacs/commit/d3565ccb096c97c0a284a4a827016fea2c8ab1e0)) - [@abougouffa](https://github.com/abougouffa)
#### Documentation
- **(readme)** fix CI badge - ([30cc7a2](https://github.com/abougouffa/minemacs/commit/30cc7a233929c37ee7165c9a38e5da3115461043)) - [@abougouffa](https://github.com/abougouffa)
#### Miscellaneous Chores
- **(ci)** cleanup MacOS M1 test (paid) - ([6f014c8](https://github.com/abougouffa/minemacs/commit/6f014c873698a6ad49ef196d6e9b3c33eadf753f)) - [@abougouffa](https://github.com/abougouffa)
- **(ci)** fix failure detection - ([9b63d42](https://github.com/abougouffa/minemacs/commit/9b63d42c552e80babbc4b38889c963322cb9b5a2)) - [@abougouffa](https://github.com/abougouffa)
- **(ci)** try to enable testing on Apple M1 - ([a4f95c8](https://github.com/abougouffa/minemacs/commit/a4f95c8a4eba2be2cd301f4506b8477f67cd7c8d)) - [@abougouffa](https://github.com/abougouffa)
- **(ci)** split CI jobs by OS to separate workflows - ([15c1c17](https://github.com/abougouffa/minemacs/commit/15c1c17dced4551bb1eb1dd71456fc0091145c88)) - [@abougouffa](https://github.com/abougouffa)
- **(ci)** better failure detection - ([665681d](https://github.com/abougouffa/minemacs/commit/665681db13080d80ccdf403aaebcfac1304e33e3)) - [@abougouffa](https://github.com/abougouffa)
- **(ci)** fix error extraction regexp - ([6e739da](https://github.com/abougouffa/minemacs/commit/6e739da0c0479c3a11628ebaca82a1adaf486174)) - [@abougouffa](https://github.com/abougouffa)
- **(ci)** use an independent initialization script for CI - ([a6c7c7e](https://github.com/abougouffa/minemacs/commit/a6c7c7e9faf522a85599ba83ca7be5e4505f51e5)) - [@abougouffa](https://github.com/abougouffa)
- **(make)** fix CI rule - ([c76ae0c](https://github.com/abougouffa/minemacs/commit/c76ae0c488b448e0e50f5f1ed839f289f1c221a2)) - [@abougouffa](https://github.com/abougouffa)
#### Refactoring
- remove CI specific code - ([e1286b3](https://github.com/abougouffa/minemacs/commit/e1286b3dd882a0c4e7e79e1adc52d5dff0747a2a)) - [@abougouffa](https://github.com/abougouffa)
#### Tweaks
- **(eglot)** register LSP server for AWK - ([5587589](https://github.com/abougouffa/minemacs/commit/5587589d6e67914d0bb973fe95b12af358180d74)) - [@abougouffa](https://github.com/abougouffa)

- - -

## [v2.0.0](https://github.com/abougouffa/minemacs/compare/v1.7.1..v2.0.0) - 2023-10-21
#### Bug Fixes
- **(vterm)** disable on Windows - ([e082919](https://github.com/abougouffa/minemacs/commit/e082919664fa61958b26460625e7041b2c48b916)) - [@abougouffa](https://github.com/abougouffa)
Expand Down
27 changes: 0 additions & 27 deletions core/CHANGELOG.md

This file was deleted.

13 changes: 0 additions & 13 deletions modules/CHANGELOG.md

This file was deleted.

14 changes: 8 additions & 6 deletions modules/extras/me-cocogitto.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ restores it after that."
(when (yes-or-no-p "Is this version a pre-release? ")
(read-string "Pre-release version: "))))
(with-current-buffer (get-buffer-create +cocogitto-buffer-name)
(conf-colon-mode)
(insert (format "############ Cocogitto bump (%s) ############\n" level))
(shell-command "git stash -u" (current-buffer) (current-buffer))
(shell-command (format "cog bump --%s%s" level (if pre (format " --pre %s" pre) ""))
(current-buffer) (current-buffer))
(shell-command "git stash pop" (current-buffer) (current-buffer))))
(when-let ((default-directory (vc-root-dir)))
(conf-colon-mode)
(insert (format "############ Cocogitto bump (%s) ############\n" level))
(call-process-shell-command "git stash -u" nil (current-buffer))
(call-process-shell-command
(format "cog bump --%s%s" level (if pre (format " --pre %s" pre) ""))
nil (current-buffer))
(call-process-shell-command "git stash pop" nil (current-buffer)))))


(provide 'me-cocogitto)
Expand Down

0 comments on commit 91abc8a

Please sign in to comment.