Skip to content

Commit e5e082b

Browse files
committed
fix: remove main branch check
1 parent 78c43f5 commit e5e082b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
tags:
99
- release/concordium-rust-sdk/*
1010

11-
1211
env:
1312
TAG: ${{ github.ref_name }}
1413

@@ -25,21 +24,9 @@ jobs:
2524
with:
2625
submodules: recursive
2726

28-
# Check that the tag exists on the main branch before proceeding
29-
- name: Check git tag was created on the main branch
30-
run: |
31-
git fetch origin main
32-
git checkout main
33-
34-
echo "Checking if tag $TAG exists on main branch"
35-
git tag --merged main | grep $TAG || { echo "Tag $TAG not found on main branch. Exiting."; exit 1; }
36-
echo "Tag $TAG found on main branch. Proceeding with release."
37-
3827
# Validate that the tag version matches the version in Cargo.toml
3928
- name: validate tag version has correct matching tag
4029
run: |
41-
git checkout $TAG
42-
4330
echo "Validating tag version $TAG matches expected version from Cargo.toml"
4431
EXPECTED_VERSION_FROM_CARGO=$(yq .package.version ./Cargo.toml)
4532
TAG_VERSION_NUMBER=${TAG##release/concordium-rust-sdk/}

0 commit comments

Comments
 (0)