File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 88 tags :
99 - release/concordium-rust-sdk/*
1010
11-
1211env :
1312 TAG : ${{ github.ref_name }}
1413
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/}
You can’t perform that action at this time.
0 commit comments