File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## [ 0 .6.1] ( https://github.com/delta-io/delta-kernel-rs/tree/0 .6.1/ ) (2025-01-10)
3
+ ## [ v0 .6.1] ( https://github.com/delta-io/delta-kernel-rs/tree/v0 .6.1/ ) (2025-01-10)
4
4
5
- [ Full Changelog] ( https://github.com/delta-io/delta-kernel-rs/compare/v0.6.0...0 .6.1 )
5
+ [ Full Changelog] ( https://github.com/delta-io/delta-kernel-rs/compare/v0.6.0...v0 .6.1 )
6
6
7
7
8
8
### 🚀 Features / new APIs
17
17
### ⚙️ Chores/CI
18
18
19
19
1 . Expand the arrow version range to allow arrow v54 ([ #616 ] )
20
+ 2 . Update to CodeCov @v5 ([ #608 ] )
20
21
21
22
### Other
22
23
23
24
1 . Fix msrv check by pinning ` home ` dependency ([ #605 ] )
24
- 2 . Update to CodeCov @v5 ([ #608 ] )
25
- 3 . Add release script ([ #636 ] )
25
+ 2 . Add release script ([ #636 ] )
26
26
27
27
28
28
[ #605 ] : https://github.com/delta-io/delta-kernel-rs/pull/605
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ header = """
6
6
"""
7
7
# Tera template
8
8
body = """
9
- ## [{{ version }}](https://github.com/delta-io/delta-kernel-rs/tree/{{ version }}/) ({{ timestamp | date(format="%Y-%m-%d") }})
9
+ ## [v {{ version }}](https://github.com/delta-io/delta-kernel-rs/tree/v {{ version }}/) ({{ timestamp | date(format="%Y-%m-%d") }})
10
10
11
- [Full Changelog](https://github.com/delta-io/delta-kernel-rs/compare/{{ previous.version }}...{{ version }})
11
+ [Full Changelog](https://github.com/delta-io/delta-kernel-rs/compare/{{ previous.version }}...v {{ version }})
12
12
13
13
{% for group, commits in commits | group_by(attribute="group") %}
14
14
### {{ group | striptags | trim | upper_first }}
Original file line number Diff line number Diff line change 2
2
3
3
# ##################################################################################################
4
4
# USAGE:
5
- # 1. on a release branch: ./release.sh <version>
5
+ # 1. on a release branch: ./release.sh <version> (example: ./release.sh 0.1.0)
6
6
# 2. on main branch (after merging release branch): ./release.sh
7
7
# ##################################################################################################
8
8
@@ -155,6 +155,15 @@ publish() {
155
155
fi
156
156
}
157
157
158
+
159
+ validate_version () {
160
+ local version=$1
161
+ # Check if version starts with a number
162
+ if [[ ! $version =~ ^[0-9] ]]; then
163
+ log_error " Version must start with a number (e.g., '0.1.1'). Got: '$version '"
164
+ fi
165
+ }
166
+
158
167
check_requirements
159
168
160
169
if is_main_branch; then
166
175
if [[ $# -ne 1 ]]; then
167
176
log_error " Version argument required when on release branch\nUsage: $0 <version>"
168
177
fi
178
+ validate_version " $1 "
169
179
handle_release_branch " $1 "
170
180
fi
You can’t perform that action at this time.
0 commit comments