fix
This commit is contained in:
parent
d8676bfa36
commit
56c654ac50
4
.github/workflows/exp.yml
vendored
4
.github/workflows/exp.yml
vendored
|
@ -37,11 +37,11 @@ jobs:
|
|||
VERSION=${BRANCH#release/}
|
||||
if [ "$VERSION" != "$BRANCH" ]; then
|
||||
echo "Triggered by commit in version $VERSION release branch $BRANCH"
|
||||
git fetch origin wip-$VERSION:wip-$VERSION
|
||||
git fetch origin refs/tags/v$VERSION:refs/tags/v$VERSION
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Tag v$VERSION does not exist"
|
||||
else
|
||||
TAGSHA=$(git rev-parse wip-$VERSION)
|
||||
TAGSHA=$(git rev-parse v$VERSION)
|
||||
echo "FOUND TAG $TAGSHA"
|
||||
if [ "$TAGSHA" != "${{ github.sha }}" ]; then
|
||||
echo "TAG v$VERSION exists on another commit : error"
|
||||
|
|
Loading…
Reference in New Issue
Block a user