wip
This commit is contained in:
parent
158d42185e
commit
5f8f59f8b5
8
.github/workflows/exp.yml
vendored
8
.github/workflows/exp.yml
vendored
|
@ -36,17 +36,17 @@ jobs:
|
||||||
if [ "$BRANCH" != "$REF" ]; then
|
if [ "$BRANCH" != "$REF" ]; then
|
||||||
VERSION=${BRANCH#release/}"
|
VERSION=${BRANCH#release/}"
|
||||||
if [ "$VERSION" != "$BRANCH" ]; then
|
if [ "$VERSION" != "$BRANCH" ]; then
|
||||||
echo "COMMIT IN VERSION BRANCH"
|
echo "COMMIT IN VERSION $VERSION BRANCH $BRANCH"
|
||||||
git fetch origin wip-$BRANCH:wip-$BRANCH
|
git fetch origin wip-$VERSION:wip-$VERSION
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "TAG NOT FOUND"
|
echo "TAG NOT FOUND"
|
||||||
else
|
else
|
||||||
TAGSHA=$(git rev-parse wip-$BRANCH)
|
TAGSHA=$(git rev-parse wip-$VERSION)
|
||||||
echo "FOUND TAG $TAGSHA"
|
echo "FOUND TAG $TAGSHA"
|
||||||
if [ "$TAGSHA" != "${{ github.sha }}" ]; then
|
if [ "$TAGSHA" != "${{ github.sha }}" ]; then
|
||||||
echo "BAD TAG"
|
echo "BAD TAG"
|
||||||
else
|
else
|
||||||
echo "GOOD TAG"
|
echo "TAGGED BRANCH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user