Skip to content

Commit 400c548

Browse files
committed
fix: release ci / cd
1 parent 6efb125 commit 400c548

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/release-contract.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343
4444
# Extract version from Cargo.toml
4545
VERSION=$(grep -m 1 '^version = ' "$CONTRACT_PATH" | sed 's/version = "\(.*\)"/\1/')
46+
GH_VERSION=$(echo "${{ github.event.inputs.tag }}" | sed 's/v\(.*\)/\1/')
4647
47-
if [ "$VERSION" != "${{ github.event.inputs.tag }}" ]; then
48+
if [ "$VERSION" != "$GH_VERSION" ]; then
4849
echo "Error: Version mismatch!"
4950
echo "Version in Cargo.toml: $VERSION"
5051
echo "Tag: ${{ github.event.inputs.tag }}"

contracts/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.

contracts/auth0-guard/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "auth0-guard"
33
description = "auth0-guard"
4-
version = "0.1.0"
4+
version = "0.1.0-rc.1"
55
edition = "2021"
66
repository = "https://github.com/Peersyst/fast-auth"
77

contracts/fa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fa"
33
description = "fa"
4-
version = "0.1.0"
4+
version = "0.1.0-rc.1"
55
edition = "2021"
66
repository = "https://github.com/Peersyst/fast-auth"
77

contracts/jwt-guard-router/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "jwt-guard-router"
33
description = "jwt-guard-router"
4-
version = "0.1.0"
4+
version = "0.1.0-rc.1"
55
edition = "2021"
66
repository = "https://github.com/Peersyst/fast-auth"
77

0 commit comments

Comments
 (0)