Skip to content

Commit

Permalink
feat: this should go in the latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed Mar 16, 2024
1 parent 98b5f08 commit 8ba1897
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/release-helpers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,18 @@ jobs:
git cliff -u --tag ${{ steps.module-tag.outputs.new-version }} | tee notes.md
shell: bash

# - name: Release
# env:
# GH_TOKEN: ${{ github.token }}
# run: |
# cat notes.md
# gh release create ${{ steps.module-tag.outputs.new-version }} --notes-file notes.md
# shell: bash
- name: Release
env:
GH_TOKEN: ${{ github.token }}
run: |
cat notes.md
gh release create ${{ steps.module-tag.outputs.new-version }} --notes-file notes.md
shell: bash

- name: specify helpers
run: git cliff --latest --tag ${{ steps.module-tag.outputs.new-version }} --include-path "helpers/*"

- name: generate release notes without specifying helpers
run: |
git cliff --latest --tag ${{ steps.module-tag.outputs.new-version }} | tee notes.md
shell: bash
3 changes: 2 additions & 1 deletion helpers/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TransformAndMergeMap[T any](m1, m2 map[string]T, transform func(string) str
mt1 := TransformMapKeys(m1, transform)
mt2 := TransformMapKeys(m2, transform)
r = MergeMap(mt1, mt2)


return r
}
Expand All @@ -77,6 +77,7 @@ func TransformAndMergeMap[T any](m1, m2 map[string]T, transform func(string) str
func MergeMapRecursive(m1, m2 map[string]interface{}) (r map[string]interface{}) {
r = map[string]interface{}{}


for key, value := range m1 {
r[key] = value
}
Expand Down
18 changes: 9 additions & 9 deletions notes.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Changelog

All notable changes to this project will be documented in this file.

## [helpers/v0.12.2] - 2024-03-15

### 🚀 Features

- Not touching helpers
- Touching helpers
- Not touching helpers again
- Changing helpers again
- not touching helpers by @AustinAbro321
- touching helpers by @AustinAbro321
- not touching helpers again by @AustinAbro321
- changing helpers again by @AustinAbro321



**Full Changelog**: https://github.com/AustinAbro321/pkg/compare/helpers/v0.12.1...helpers/v0.12.2


<!-- generated by git-cliff -->

0 comments on commit 8ba1897

Please sign in to comment.