Skip to content

Commit 3bd68aa

Browse files
committedFeb 4, 2025
fix: bump to v4
1 parent 8ebb4b6 commit 3bd68aa

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed
 

‎.github/workflows/publish-container.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ jobs:
5050
build-args: |
5151
CZ_VERSION=${{ steps.getversion.outputs.version }}
5252
tags: |
53-
commitizen/commitizen:3
53+
commitizen/commitizen:4
5454
commitizen/commitizen:latest
5555
commitizen/commitizen:${{ steps.getversion.outputs.version }}

‎README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,24 @@
88

99
## Docker images
1010

11-
We publish major versions starting with `v3` + latest exact v3.
11+
We publish major versions starting with `v4` + latest exact v4.
1212

1313
| Tag | Description |
1414
| ------------------------------ | --------------------------------------------------------------- |
15-
| `commitizen/commitizen:latest` | Latest major version, at the moment v3 |
15+
| `commitizen/commitizen:latest` | Latest major version, at the moment v4 |
16+
| `commitizen/commitizen:4` | Points to latest v4 |
17+
| `commitizen/commitizen:4.x` | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |
1618
| `commitizen/commitizen:3` | Points to latest v3 |
1719
| `commitizen/commitizen:3.x` | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |
1820
| `commitizen/commitizen:2` | Points to latest v2 |
1921
| `commitizen/commitizen:2.x` | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |
2022

2123
This repo checks daily for the latest version and tries to publish it.
2224

25+
## Migrating to `v4`
26+
27+
Nothing has changed, python 3.8 support has been dropped.
28+
2329
## Migrating from `v2` to `v3` image
2430

2531
We've moved this images from using `CMD` to `ENTRYPOINT` for `v3`.

‎scripts/build

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ EXACT_VERSION="${EXACT_VERSION:-3}"
55
# Also tag exact question, if not provided we repeat value '3' twice, but
66
# it won't create any problem
77
docker build \
8-
-t registry.hub.docker.com/commitizen/commitizen:3 \
8+
-t registry.hub.docker.com/commitizen/commitizen:4 \
99
-t registry.hub.docker.com/commitizen/commitizen:latest \
1010
-t "registry.hub.docker.com/commitizen/commitizen:$EXACT_VERSION" \
1111
.

‎scripts/cz

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh -ex
2-
docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 "$@"
2+
docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:4 "$@"

0 commit comments

Comments
 (0)
Please sign in to comment.