Skip to content

Commit

Permalink
fix: publish->prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
aquint-zama committed Jan 30, 2023
1 parent 3f6af68 commit 0ce05d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
[
"@semantic-release/exec", {
"publishCmd": "./publish.sh v${nextRelease.version}"
"prepareCmd": "./prepare.sh v${nextRelease.version}"
}],
[
"@semantic-release/git",
Expand Down
1 change: 0 additions & 1 deletion publish.sh → prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
VERSION_FILE="version.py"
NEWTAG=$1
sed -i "s/__version__=\"v[[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\"/__version__=\"${NEWTAG//./\\.}\"/" $VERSION_FILE
git add $VERSION_FILE
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="v1.1.2"
__version__="v1.2.1"

0 comments on commit 0ce05d9

Please sign in to comment.