Skip to content

Commit 941f8b4

Browse files
committed
chore: this should be in 13.1
1 parent 8ba1897 commit 941f8b4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/release-helpers.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
shell: bash
5757

5858
- name: specify helpers
59-
run: git cliff --latest --tag ${{ steps.module-tag.outputs.new-version }} --include-path "helpers/*"
59+
run: |
60+
git pull --all
61+
git cliff --latest --tag ${{ steps.module-tag.outputs.new-version }} --include-path "helpers/*"
6062
6163
- name: generate release notes without specifying helpers
6264
run: |

helpers/misc.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,14 @@ func TransformAndMergeMap[T any](m1, m2 map[string]T, transform func(string) str
7171

7272

7373
return r
74+
7475
}
7576

7677
// MergeMapRecursive recursively (nestedly) merges map m2 with m1 overwriting common values with m2's values.
7778
func MergeMapRecursive(m1, m2 map[string]interface{}) (r map[string]interface{}) {
7879
r = map[string]interface{}{}
7980

80-
81+
8182
for key, value := range m1 {
8283
r[key] = value
8384
}

0 commit comments

Comments
 (0)