Skip to content

Commit

Permalink
feat: bump version to 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonbosa committed May 12, 2024
1 parent 4d1484a commit 1af3033
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<img src="https://img.shields.io/badge/license-CC_1.0-white.svg">
</a>
<a href="https://github.com/andersonbosa/moshell.sh/blob/main/moshell.sh/version">
<img src="https://img.shields.io/badge/version-2.5.0-blue.svg">
<img src="https://img.shields.io/badge/version-2.5.1-blue.svg">
</a>
</p>
</p>
Expand Down
4 changes: 4 additions & 0 deletions moshell.sh/tools/version_manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ function __moshell:tools::version_manager::increment_version() {
new_version="$major.$minor.$patch"
echo "$new_version" >$_MOSHELL_DIR_BASE_PATH/version

# Update the version in README.md badge
local README_PATH=$ABSOLUTE_SCRIPT_DIR_PATH/../../README.md
sed -i "s/version-$current_version/version-$new_version/g" $README_PATH

echo "[+] Version incremented to: $new_version"
}

Expand Down
2 changes: 1 addition & 1 deletion moshell.sh/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.0
2.5.1

0 comments on commit 1af3033

Please sign in to comment.