1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-11 15:05:30 +03:00
Commit Graph

250 Commits

Author SHA1 Message Date
Meitar Reihan
3eb828e69a
feat(changelog): add tag message to release context (#713)
* feat: add tag message to release context

- add to the release context the tag's message if it exists
- add message to the default config

* feat(args): add `--with-tag-message` argument

to allow setting the message of the last release in the context

* docs: update args

* docs: add adding-tag-messages

* refactor: polish implementation

* tests(test-tag-message): fix the template

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-22 13:29:49 +03:00
Meitar Reihan
8e03356706
feat(bump): support bumping based on configurable custom pattern (#725)
* chore(deps): bump next_version from 0.2.17 to 0.2.18

Bumps [next_version](https://github.com/MarcoIeni/release-plz) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/MarcoIeni/release-plz/releases)
- [Changelog](https://github.com/MarcoIeni/release-plz/blob/main/CHANGELOG.md)
- [Commits](https://github.com/MarcoIeni/release-plz/compare/next_version-v0.2.17...next_version-v0.2.18)

---
updated-dependencies:
- dependency-name: next_version
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: Support bumping version based on configurable custom pattern

closes #717

* refactor: clean up implementation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-21 23:38:52 +03:00
dependabot[bot]
1d4d955955
chore(deps): bump docker/build-push-action from 5 to 6 (#714)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 12:14:09 +03:00
Buk Bukowski
94891c2c27
feat(args): add --ignore-tags argument (#696)
* feat(cli,args): allow overwriting `ignore_tags` argument

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): cargo fmt

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): clippy

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert "chore(lint): clippy"

This reverts commit f307647f87.

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert chore(lint): cargo fmt in changelog.rs

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore: git update-index --chmod=+x .github/fixtures/test-cli-arg-ignore-tags/commit.sh

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): fix formatting

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* revert changes to test-fixtures-locally.sh

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* revert changes to .gitignore

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore: change doc in args.rs and doc

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert "chore(lint): fix formatting"

This reverts commit c829865feb.

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* style(lint): rustfmt

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* tests(fixtures): uncomment commit

* tests(fixtures): fix expected.md

---------

Signed-off-by: Bukowa <gitbukowa@gmail.com>
2024-06-17 20:47:14 +03:00
Cyclonit
9fc12bb90c
feat(changelog): make changelog.header a template (#698)
* feat(changelog): make changelog.header a template (#697)

* refactor: clean up implementation

* docs: update the description of header field

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-17 20:43:00 +03:00
Jan Ferdinand Sauer
50c240c25b
feat(changelog): support parsing commits by footer (#569)
* feat: Enable footer-based commit parsing

Enable defining parsers for a commit's footer, similar to the already-
present commit parsers for a commit's message or body.

For example:

```toml
commit_parsers = [
  { footer = "changelog: ignore", skip = true },
]
```

Due to an inconsistency between the conventional commits specification
and its reference parser, footers are currently interpreted as
`key:value` instead of the (correct) `key: value`. See
https://github.com/conventional-commits/parser/issues/47 for details.
As a future-proof workaround, you can use `key: ?value` in the regex.

* chore: fix typo

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-16 19:32:39 +03:00
Buk Bukowski
dabe716c20
fix(fixture): support running fixtures on mingw64 (#708)
Signed-off-by: Bukowa <gitbukowa@gmail.com>
2024-06-15 21:47:41 +03:00
Orhun Parmaksız
bea49161e9
refactor(bump): add documentation and simplify implementation 2024-06-15 21:22:31 +03:00
Buk Bukowski
734150020e
feat(bump): support setting the initial_tag (#701)
* feat: add `initial_tag` to `bump` - allows changing from default `0.1.0` when using `bump` and no tags are found

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(tests): add `test-bump-initial-tag-default`

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(tests): add `test-bump-initial-tag-cli-arg`

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(tests): add `test-bump-initial-tag`

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(ci,tests): add tests to `text-fixtures.yml`

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(ci,tests): check if cli arg overwrites config file

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(ci,tests): fix chmod for commit files

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(docs): add cli flag to args.md

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): rustfmt

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): fix formatting

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert "chore(docs): add cli flag to args.md"

This reverts commit 1499e40df2.

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* feat(cli,args): remove `bump-initial-flag` and use `tag`

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert "chore(lint): fix formatting"

This reverts commit 02717efa19.

Signed-off-by: Bukowa <gitbukowa@gmail.com>

---------

Signed-off-by: Bukowa <gitbukowa@gmail.com>
2024-06-15 21:22:23 +03:00
ThetaDev
403d3dcd32
feat(codeberg): add Gitea support (#680)
* feat: add gitea integration

* fix: several fixes to get gitea working, add test fixture

* docs: update docs

* fix: cargo fmt

* fix: remove dbg trait

* fix: tests

* chore: remove vscode settings

* refactor: cleanup implementation

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-15 20:42:15 +03:00
dark0dave
8ffc0548fe
feat(bitbucket): add Bitbucket support (#663)
* Draft: feat(bitbucket): Closes  #566

Signed-off-by: dark0dave <dark0dave@mykolab.com>

* refactor: improve bitbucket integration

---------

Signed-off-by: dark0dave <dark0dave@mykolab.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-02 20:49:37 +03:00
Orhun Parmaksız
b490f2a24e
feat(gitlab)!: Add GitLab support (#654)
* feat(gitlab): Add gitlab support

Signed-off-by: dark0dave <dark0dave@mykolab.com>

* refactor: simplify contains variable function

* refactor: move github and gitlab to remote module

* fix: fix gitlab API url

* refactor: move common constants and trait to remote module

* refactor: use common type for contributor and release metadata

* refactor: use generic types for remote commits and pull requests

* refactor: move template variables to designated module

* refactor: abstract away the remote

* docs: improve documentation of remote module

* fix: fix feature segregation related bugs

* fix: fix double print bug

* chore: update fixtures for remote integration

* fix: fix test case for non-default features

* chore(build): bump MSRV to 1.75.0

* docs: update the documentation of remote module

* fix: hide arguments if feature is not enabled

* docs: add documentation

* chore(github): update issue template

---------

Signed-off-by: dark0dave <dark0dave@mykolab.com>
Co-authored-by: dark0dave <dark0dave@mykolab.com>
2024-05-25 22:53:47 +03:00
Orhun Parmaksız
22c94ed835
chore(cd): use macos-14 runner 2024-05-22 19:57:43 +03:00
Orhun Parmaksız
f675b0b5bd
chore(pypi): disable PyPi builds for x86_64-pc-windows-gnu 2024-04-30 13:39:36 +03:00
Orhun Parmaksız
6ba6809ea1
chore(ci): remove audit check 2024-04-11 01:15:46 +03:00
Jeroen Claassens
800c896493
fix(npm): include the proper files in the npm tarball (#594) 2024-04-10 00:59:44 +03:00
dependabot[bot]
69abe952ac
chore(deps): bump actions/configure-pages from 4 to 5 (#587)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 12:57:14 +03:00
Orhun Parmaksız
0b64bc0325
chore(website): allow deploying website manually 2024-03-28 15:48:19 +03:00
Orhun Parmaksız
8651832926
chore(website): only deploy website when there is a new release 2024-03-27 17:23:24 +03:00
Jeroen Claassens
5a0ce6acc1
fix(npm): fix authenticating for yarn npm publish (#574) 2024-03-25 00:12:11 +01:00
Orhun Parmaksız
9eb3d65945
feat(config): support detecting config from project manifest (#571)
* feat(config): support detecting config from project manifest

* refactor: apply clippy suggestions

* test(fixture): add fixture for configuring from Cargo.toml
2024-03-23 15:31:58 +01:00
Orhun Parmaksız
f26fbe09ff
chore(ci): temporarily disable semver checks
waiting for https://github.com/obi1kenobi/cargo-semver-checks-action/pull/65
2024-03-23 17:06:54 +03:00
Orhun Parmaksız
4bedf764e3
chore(github): update funding options 2024-03-14 21:13:16 +03:00
Jarosław Surkont
152414cb81
feat(release): make the bump version rules configurable (#530)
closes #447

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-03-11 14:08:07 +01:00
Orhun Parmaksız
ccdc15217c
chore(ci): comment on pull requests about semver checks 2024-03-11 15:57:44 +03:00
Jeroen Claassens
16bea5179a
chore(npm): publish rc version for prereleases (#528)
* ci: publish rc version with rc dist-tags

* refactor: use github.ref
2024-03-05 19:17:22 +01:00
Jeroen Claassens
8f8e221563
chore(github): use form based issue templates (#529) 2024-03-04 13:38:14 +01:00
Orhun Parmaksız
7f379a9c83
fix(cd): set the correct GitHub repository URL 2024-03-03 23:45:40 +03:00
Orhun Parmaksız
717abce767
fix(cd): set a flag as a workaround for the NPM package 2024-03-03 23:43:08 +03:00
Orhun Parmaksız
5dd0d2ebf8
fix(cd): set node version to 18 for building NPM packages 2024-03-03 23:06:54 +03:00
Orhun Parmaksız
292723109f
chore(fixtures): enable verbose logging for output 2024-03-02 21:41:49 +03:00
Orhun Parmaksız
8d2f1fab2b
fix(cd): explicitly set the Homebrew formula path 2024-03-02 21:17:56 +03:00
Orhun Parmaksız
87a04fb437
refactor(cd): simplify checking pre-releases 2024-03-02 21:16:51 +03:00
Orhun Parmaksız
61d055b916
chore(ci): auto-bump the homebrew formula
closes #203
2024-03-02 21:06:48 +03:00
Orhun Parmaksız
18f4923897
chore(ci): enable default features for windows builds 2024-03-02 20:57:38 +03:00
Orhun Parmaksız
a25a1148d9
chore(ci): check semver violations via CI
closes #334
2024-03-02 14:47:09 +03:00
Orhun Parmaksız
b4e7a3400f
feat(args): add --tag-pattern argument (#526)
* feat(args): add `--tag-pattern` argument

* fix: fix typo in the fixture name

* test: update fixture case
2024-03-01 23:09:15 +01:00
Orhun Parmaksız
0e46500199
fix(cd): set the GitHub repository explicitly 2024-02-23 01:10:29 +03:00
Orhun Parmaksız
4f741a7c9e
chore(config): add animation to the header of the changelog 2024-02-22 23:00:30 +03:00
Orhun Parmaksız
1aaa9b2150
fix(cd): do not execute commands for the release changelog 2024-02-22 22:35:33 +03:00
Orhun Parmaksız
30d8e41b06
chore(cd): disable PyPI builds for linux-x86-glibc 2024-02-19 14:40:24 +03:00
Orhun Parmaksız
dc79ed5fe2
fix(cd): use workaround for linux-arm64-glibc maturin builds
https://github.com/PyO3/maturin-action/issues/222
2024-02-18 16:52:30 +03:00
Orhun Parmaksız
e24af123db
fix(cd): disable PyPI publish for linux-arm64-glibc
https://github.com/PyO3/maturin-action/issues/245
2024-02-18 16:43:52 +03:00
Orhun Parmaksız
1647fd82e9
fix(cd): avoid creating artifacts with the same name
https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
2024-02-18 13:42:53 +03:00
Orhun Parmaksız
46b7d880cf
fix(cd): fix embedding examples for crates.io release 2024-02-18 13:35:44 +03:00
dependabot[bot]
46609e49d5
chore(deps): bump codecov/codecov-action from 3 to 4 (#476)
* chore(deps): bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(ci): provide codecov token

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-02-17 11:58:05 +01:00
Orhun Parmaksız
7ae77ff0e0
feat(args): add --no-exec flag for skipping command execution (#458)
* feat(args): add `--no-exec` flag for skipping command execution

* refactor(args): reorder arguments
2024-01-20 23:33:49 +01:00
Orhun Parmaksız
ec6035a7e7
refactor(ci): use hardcoded workspace members for cargo-msrv command 2024-01-19 22:19:06 +01:00
Orhun Parmaksız
f04bf6eca1
refactor(ci): simplify cargo-msrv installation 2024-01-19 22:01:26 +01:00
Orhun Parmaksız
131dd10c53
fix(ci): update cargo-msrv arguments 2024-01-19 12:00:28 +03:00