-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Release mcp-k8s to npm | |
on: | ||
workflow_dispatch: | ||
tags: | ||
- 'v*.*.*' | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/bin/bash | ||
|
||
previous_version="0.0.9" | ||
new_version="0.0.10" | ||
|
||
# replace previous version with new version in all .json files in ./packages folder | ||
find ./packages -type f -name '*.json' -exec sed -i '' -e 's/0.0.9/0.0.10/g' {} \; | ||
find ./packages -type f -name '*.json' -exec sed -i '' -e "s/${previous_version}/${new_version}/g" {} \; | ||
|