Skip to content

Commit 78fb0a0

Browse files
committed
Fixes release
1 parent 3582362 commit 78fb0a0

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
.PHONY: bump_patch bump_minor bump_major
22

3-
# Variables
43
RELEASE_SCRIPT = ./release.sh
54

6-
# Jobs
75
bump_patch:
8-
@$(RELEASE_SCRIPT) bump_patch
6+
@$(RELEASE_SCRIPT) bump_patch
97

108
bump_minor:
11-
@$(RELEASE_SCRIPT) bump_minor
9+
@$(RELEASE_SCRIPT) bump_minor
1210

1311
bump_major:
14-
@$(RELEASE_SCRIPT) bump_major
12+
@$(RELEASE_SCRIPT) bump_major

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151
echo "New version: $new_version"
5252

5353
# Update the version in Cargo.toml
54-
sed -i -E "s/^version = \"$current_version\"/version = \"$new_version\"/" Cargo.toml
54+
sed -i'' -E "s/^version = \"$current_version\"/version = \"$new_version\"/" Cargo.toml
5555

5656
# Commit the changes to Cargo.toml
5757
git add Cargo.toml

0 commit comments

Comments
 (0)