We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5083b9 commit 9370fd8Copy full SHA for 9370fd8
scripts/bump-version.sh
@@ -0,0 +1,13 @@
1
+#!/bin/bash
2
+set -euo pipefail
3
+
4
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5
+cd $SCRIPT_DIR/..
6
7
+OLD_VERSION="${1}"
8
+NEW_VERSION="${2}"
9
10
+echo "Current version: ${OLD_VERSION}"
11
+echo "Bumping version: ${NEW_VERSION}"
12
13
+perl -pi -e "s/^version = \".*?\"/version = \"$NEW_VERSION\"/" Cargo.toml
0 commit comments