Skip to content

Commit

Permalink
doc(release): fix commands for releasing new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ipfaze committed May 15, 2024
1 parent 38d551d commit e7d79e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,9 @@ Bump new version number in:
Commit the new version number:

```sh
old_version="1.0.1"
version="1.0.2"
sed -i "s/$old_version/$version/g" config/config.go
sed --in-place "s/var Version = \"v\([0-9.]*\)\"/var Version = \"v$version\"/g" config/config.go
git switch --create release/${version}
git add CHANGELOG.md README.md
Expand Down

0 comments on commit e7d79e8

Please sign in to comment.