Skip to content

Commit 07f851a

Browse files
github-actions[bot]sergelogvinov
authored andcommitted
chore: release v0.3.1
Release v0.3.1 Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
1 parent 95706ea commit 07f851a

File tree

8 files changed

+72
-21
lines changed

8 files changed

+72
-21
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.3.0"
2+
".": "0.3.1"
33
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.3.1](https://github.com/sergelogvinov/hybrid-csi-plugin/compare/v0.3.0...v0.3.1) (2025-12-16)
4+
5+
6+
### Bug Fixes
7+
8+
* disable clean up old images ([95706ea](https://github.com/sergelogvinov/hybrid-csi-plugin/commit/95706ea69d5d8f71e6431947088cc629ba92d5e4))
9+
310
## [0.3.0](https://github.com/sergelogvinov/hybrid-csi-plugin/compare/v0.2.1...v0.3.0) (2025-09-02)
411

512

charts/hybrid-csi-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ maintainers:
1717
url: https://github.com/sergelogvinov
1818
#
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 0.1.9
20+
version: 0.1.10
2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to
2323
# follow Semantic Versioning. They should reflect the version the application is using.
2424
# It is recommended to use it with quotes.
25-
appVersion: v0.3.0
25+
appVersion: v0.3.1

charts/hybrid-csi-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# hybrid-csi-plugin
22

3-
![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.3.0](https://img.shields.io/badge/AppVersion-v0.3.0-informational?style=flat-square)
3+
![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.3.1](https://img.shields.io/badge/AppVersion-v0.3.1-informational?style=flat-square)
44

55
Container Storage Interface plugin
66

docs/deploy/hybrid-csi-plugin-release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ metadata:
1616
name: hybrid-csi-plugin-controller
1717
namespace: csi-hybrid
1818
labels:
19-
helm.sh/chart: hybrid-csi-plugin-0.1.9
19+
helm.sh/chart: hybrid-csi-plugin-0.1.10
2020
app.kubernetes.io/name: hybrid-csi-plugin
2121
app.kubernetes.io/instance: hybrid-csi-plugin
22-
app.kubernetes.io/version: "v0.3.0"
22+
app.kubernetes.io/version: "v0.3.1"
2323
app.kubernetes.io/managed-by: Helm
2424
---
2525
# Source: hybrid-csi-plugin/templates/controller-clusterrole.yaml
@@ -29,10 +29,10 @@ metadata:
2929
name: hybrid-csi-plugin-controller
3030
namespace: csi-hybrid
3131
labels:
32-
helm.sh/chart: hybrid-csi-plugin-0.1.9
32+
helm.sh/chart: hybrid-csi-plugin-0.1.10
3333
app.kubernetes.io/name: hybrid-csi-plugin
3434
app.kubernetes.io/instance: hybrid-csi-plugin
35-
app.kubernetes.io/version: "v0.3.0"
35+
app.kubernetes.io/version: "v0.3.1"
3636
app.kubernetes.io/managed-by: Helm
3737
rules:
3838
- apiGroups: [""]
@@ -92,10 +92,10 @@ metadata:
9292
name: hybrid-csi-plugin-controller
9393
namespace: csi-hybrid
9494
labels:
95-
helm.sh/chart: hybrid-csi-plugin-0.1.9
95+
helm.sh/chart: hybrid-csi-plugin-0.1.10
9696
app.kubernetes.io/name: hybrid-csi-plugin
9797
app.kubernetes.io/instance: hybrid-csi-plugin
98-
app.kubernetes.io/version: "v0.3.0"
98+
app.kubernetes.io/version: "v0.3.1"
9999
app.kubernetes.io/managed-by: Helm
100100
rules:
101101
- apiGroups: ["coordination.k8s.io"]
@@ -134,10 +134,10 @@ metadata:
134134
name: hybrid-csi-plugin-controller
135135
namespace: csi-hybrid
136136
labels:
137-
helm.sh/chart: hybrid-csi-plugin-0.1.9
137+
helm.sh/chart: hybrid-csi-plugin-0.1.10
138138
app.kubernetes.io/name: hybrid-csi-plugin
139139
app.kubernetes.io/instance: hybrid-csi-plugin
140-
app.kubernetes.io/version: "v0.3.0"
140+
app.kubernetes.io/version: "v0.3.1"
141141
app.kubernetes.io/managed-by: Helm
142142
spec:
143143
replicas: 1
@@ -178,7 +178,7 @@ spec:
178178
readOnlyRootFilesystem: true
179179
seccompProfile:
180180
type: RuntimeDefault
181-
image: "ghcr.io/sergelogvinov/hybrid-csi-provisioner:v0.3.0"
181+
image: "ghcr.io/sergelogvinov/hybrid-csi-provisioner:v0.3.1"
182182
imagePullPolicy: IfNotPresent
183183
args:
184184
- "-v=5"

docs/deploy/hybrid-csi-plugin.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ metadata:
1616
name: hybrid-csi-plugin-controller
1717
namespace: csi-hybrid
1818
labels:
19-
helm.sh/chart: hybrid-csi-plugin-0.1.9
19+
helm.sh/chart: hybrid-csi-plugin-0.1.10
2020
app.kubernetes.io/name: hybrid-csi-plugin
2121
app.kubernetes.io/instance: hybrid-csi-plugin
22-
app.kubernetes.io/version: "v0.3.0"
22+
app.kubernetes.io/version: "v0.3.1"
2323
app.kubernetes.io/managed-by: Helm
2424
---
2525
# Source: hybrid-csi-plugin/templates/controller-clusterrole.yaml
@@ -29,10 +29,10 @@ metadata:
2929
name: hybrid-csi-plugin-controller
3030
namespace: csi-hybrid
3131
labels:
32-
helm.sh/chart: hybrid-csi-plugin-0.1.9
32+
helm.sh/chart: hybrid-csi-plugin-0.1.10
3333
app.kubernetes.io/name: hybrid-csi-plugin
3434
app.kubernetes.io/instance: hybrid-csi-plugin
35-
app.kubernetes.io/version: "v0.3.0"
35+
app.kubernetes.io/version: "v0.3.1"
3636
app.kubernetes.io/managed-by: Helm
3737
rules:
3838
- apiGroups: [""]
@@ -92,10 +92,10 @@ metadata:
9292
name: hybrid-csi-plugin-controller
9393
namespace: csi-hybrid
9494
labels:
95-
helm.sh/chart: hybrid-csi-plugin-0.1.9
95+
helm.sh/chart: hybrid-csi-plugin-0.1.10
9696
app.kubernetes.io/name: hybrid-csi-plugin
9797
app.kubernetes.io/instance: hybrid-csi-plugin
98-
app.kubernetes.io/version: "v0.3.0"
98+
app.kubernetes.io/version: "v0.3.1"
9999
app.kubernetes.io/managed-by: Helm
100100
rules:
101101
- apiGroups: ["coordination.k8s.io"]
@@ -134,10 +134,10 @@ metadata:
134134
name: hybrid-csi-plugin-controller
135135
namespace: csi-hybrid
136136
labels:
137-
helm.sh/chart: hybrid-csi-plugin-0.1.9
137+
helm.sh/chart: hybrid-csi-plugin-0.1.10
138138
app.kubernetes.io/name: hybrid-csi-plugin
139139
app.kubernetes.io/instance: hybrid-csi-plugin
140-
app.kubernetes.io/version: "v0.3.0"
140+
app.kubernetes.io/version: "v0.3.1"
141141
app.kubernetes.io/managed-by: Helm
142142
spec:
143143
replicas: 1

docs/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ git branch -D release-please--branches--main
1313
git checkout release-please--branches--main
1414
export `jq -r '"TAG=v"+.[]' .github/release-please-manifest.json`
1515

16+
sh hack/bump-chart-version.sh hybrid-csi-plugin false false true
1617
make helm-unit docs
1718

1819
git add .

hack/bump-chart-version.sh

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
parent_dir="$1"
6+
is_major="$2"
7+
is_minor="$3"
8+
is_patch="$4"
9+
10+
version=$(grep "^version:" "charts/${parent_dir}/Chart.yaml" | awk '{print $2}')
11+
if [[ ! $version ]]; then
12+
echo "No valid version was found"
13+
exit 1
14+
fi
15+
16+
major=$(echo "$version" | cut -d. -f1)
17+
minor=$(echo "$version" | cut -d. -f2)
18+
patch=$(echo "$version" | cut -d. -f3)
19+
20+
# Bump major version
21+
if [[ "$is_major" = 'true' ]]; then
22+
major=$(( major + 1 ))
23+
minor=0
24+
patch=0
25+
fi
26+
27+
# Bump minor version
28+
if [[ "$is_minor" = 'true' ]]; then
29+
minor=$(( minor + 1 ))
30+
patch=0
31+
fi
32+
33+
# Bump patch version
34+
if [[ "$is_patch" = 'true' ]]; then
35+
patch=$(( patch + 1 ))
36+
fi
37+
38+
echo "Bumping version for $parent_dir from $version to $major.$minor.$patch"
39+
if hash yq 2>/dev/null; then
40+
yq -i ".version = \"${major}.${minor}.${patch}\"" charts/${parent_dir}/Chart.yaml
41+
else
42+
sed -i "s/^version:.*/version: ${major}.${minor}.${patch}/g" "charts/${parent_dir}/Chart.yaml"
43+
fi

0 commit comments

Comments
 (0)