Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Release Please
id: release
uses: google-github-actions/release-please-action@v3
uses: googleapis/release-please-action@v3
with:
token: ${{ secrets.PAT_TOKEN }}
release-type: go
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.1.14](https://github.com/furan917/MageComm/compare/v0.1.13...v0.1.14) (2025-04-04)


### Bug Fixes

* handle escape quotes in message strings ([fdf6bf3](https://github.com/furan917/MageComm/commit/fdf6bf33366d64a577085022f139695dd4ad8a05))

## [0.1.13](https://github.com/furan917/MageComm/compare/v0.1.12...v0.1.13) (2024-03-19)


Expand Down
5 changes: 5 additions & 0 deletions magerun/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ func getMageRunCommand() string {
}

func parseMagerunCommand(messageBody string) (string, []string) {
//if messageBody contains \" or \' then replace with " or '
escapedQuotePattern := `\\(["'])`
re := regexp.MustCompile(escapedQuotePattern)
messageBody = re.ReplaceAllString(messageBody, `$1`)

args := strings.Fields(messageBody)
return args[0], args[1:]
}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.13 ## x-release-please-version
v0.1.14 ## x-release-please-version