Skip to content

Commit

Permalink
chore: create_release.sh updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Oct 22, 2024
1 parent f58a5bc commit 1389d8a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions create_release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# rust create_release v0.5.7
# 2024-08-02
# rust create_release v0.6.1
# 2024-10-21

STAR_LINE='****************************************'
CWD=$(pwd)
Expand Down Expand Up @@ -128,6 +128,10 @@ update_release_body_and_changelog() {
# Update changelog to add links to closed issues
# "closes #1" -> "closes [#1](https:/www.../issues/1)""
sed -i -r -E "s=closes \#([0-9]+)=closes [#\1](${GIT_REPO_URL}/issues/\1)=g" CHANGELOG.md

# Update changelog to add links to merged PR's
# "merges #1" -> "merges [#1](https:/www.../pull/1)""
sed -i -r -E "s=merges \#([0-9]+)=merges [#\1](${GIT_REPO_URL}/pull/\1)=g" CHANGELOG.md
}

# update version in cargo.toml, to match selected current version
Expand Down

0 comments on commit 1389d8a

Please sign in to comment.