File tree 3 files changed +12
-7
lines changed
3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ before:
10
10
11
11
builds :
12
12
- id : ' mmdbinspect'
13
- main : ' ./cmd/mmdbinspect/main.go '
13
+ main : ' ./cmd/mmdbinspect/'
14
14
binary : ' mmdbinspect'
15
15
goos :
16
16
- ' darwin'
@@ -27,7 +27,8 @@ archives:
27
27
wrap_in_directory : true
28
28
format_overrides :
29
29
- goos : windows
30
- format : zip
30
+ formats :
31
+ - zip
31
32
files :
32
33
- ' CHANGELOG.md'
33
34
- ' LICENSE-APACHE'
@@ -38,7 +39,7 @@ checksum:
38
39
name_template : ' checksums.txt'
39
40
40
41
snapshot :
41
- name_template : " {{ .Tag }}-next"
42
+ version_template : " {{ .Tag }}-next"
42
43
43
44
changelog :
44
45
disable : true
Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
- ## 2.0.0
3
+ ## 2.0.0-beta.2 (2025-03-11)
4
+
5
+ * Fixes for the release scripts. No other changes.
6
+
7
+ ## 2.0.0-beta.1 (2025-03-11)
4
8
5
9
* The default output format is now YAML. This was done to improve the
6
10
readability when using the tool as a standalone utility for doing lookups
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -eu -o pipefail
5
5
changelog=$( cat CHANGELOG.md)
6
6
7
7
regex='
8
- ## ([0-9]+\.[0-9]+\.[0-9]+) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
8
+ ## ([0-9]+\.[0-9]+\.[0-9]+(-[^ ]+)? ) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
9
9
10
10
((.|
11
11
)*)
@@ -17,8 +17,8 @@ if [[ ! $changelog =~ $regex ]]; then
17
17
fi
18
18
19
19
version=" ${BASH_REMATCH[1]} "
20
- date=" ${BASH_REMATCH[2 ]} "
21
- notes=" $( echo " ${BASH_REMATCH[3 ]} " | sed -n -E ' /^## [0-9]+\.[0-9]+\.[0-9]+/,$!p' ) "
20
+ date=" ${BASH_REMATCH[3 ]} "
21
+ notes=" $( echo " ${BASH_REMATCH[4 ]} " | sed -n -E ' /^## [0-9]+\.[0-9]+\.[0-9]+(-[^ ]+)? /,$!p' ) "
22
22
tag=" v$version "
23
23
24
24
if [[ " $date " != " $( date +" %Y-%m-%d" ) " ]]; then
You can’t perform that action at this time.
0 commit comments