Skip to content

Commit 6c3a8b4

Browse files
Merge pull request #112 from klever-io/bump-version-0.2.12
Bump version 0.2.12
2 parents 3c0f4b5 + 522b9fb commit 6c3a8b4

File tree

3 files changed

+5
-24
lines changed

3 files changed

+5
-24
lines changed

.github/actions/bump-version.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,6 @@ MAJOR_VERSION=${ADDR[0]}
99
MINOR_VERSION=${ADDR[1]}
1010
PATCH_VERSION=${ADDR[2]}
1111

12-
# Check the PR title to decide how to bump the version.
13-
if [[ "${PR_TITLE}" == "MAJOR:"* ]]; then
14-
MAJOR_VERSION=$((MAJOR_VERSION + 1))
15-
MINOR_VERSION=0
16-
PATCH_VERSION=0
17-
elif [[ "${PR_TITLE}" == "MINOR:"* ]]; then
18-
MINOR_VERSION=$((MINOR_VERSION + 1))
19-
PATCH_VERSION=0
20-
else
21-
PATCH_VERSION=$((PATCH_VERSION + 1))
22-
fi
23-
24-
# Construct the new version string.
2512
NEW_VERSION="$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION"
2613

27-
# Replace the version in Cargo.toml
28-
sed -i "s/version = \"$CURRENT_VERSION\"/version = \"$NEW_VERSION\"/g" Cargo.toml
29-
30-
# Print the new version to a file (or alternatively, set it as an environment variable or output variable).
3114
echo $NEW_VERSION > VERSION
32-
33-
echo "($PR_TITLE) updating $CURRENT_VERSION to $NEW_VERSION"

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ homepage = "https://klever.org/"
1515
license = "Apache-2.0"
1616
repository = "https://github.com/kleverio/kos-rs"
1717
rust-version = "1.69.0"
18-
version = "0.2.9"
18+
version = "0.2.12"
1919

2020
[workspace.dependencies]
2121
bech32 = "0.9.1"
@@ -41,4 +41,4 @@ serde_json = "1.0"
4141
lazy_static = "1.4.0"
4242
thiserror = "1.0"
4343

44-
kos = { version = "0.2.9", path = "./packages/kos", default-features = false }
44+
kos = { version = "0.2.12", path = "./packages/kos", default-features = false }

0 commit comments

Comments
 (0)