Skip to content

Commit 33b2c43

Browse files
cxiang07chaoyux
andauthored
Fix file rename in e2e test script, fix release version check in github-release script (#634)
Co-authored-by: chaoyux <[email protected]>
1 parent 1862bef commit 33b2c43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/e2e-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
kubectl apply -f config/crds/bases/k8s-gateway-v1.0.0.yaml
7878
- name: Create Lattice GatewayClass
7979
run: |
80-
kubectl apply -f examples/gatewayclass.yaml
80+
kubectl apply -f files/controller-installation/gatewayclass.yaml
8181
- name: Run test
8282
run: |
8383
make e2e-test

scripts/github-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ if git rev-parse --verify release-$RELEASE_VERSION >/dev/null 2>&1; then
4343
git branch -D release-$RELEASE_VERSION
4444
fi
4545

46-
if git ls-remote --tags origin | grep -q "refs/tags/$RELEASE_VERSION"; then
46+
if git ls-remote --tags origin | grep -q "refs/tags/$RELEASE_VERSION$"; then
4747
echo "Tag '$RELEASE_VERSION' exists in remote, you should manually delete it from github"
4848
exit 1
4949
fi
5050

51-
if git ls-remote --heads origin | grep -q "refs/heads/release-$RELEASE_VERSION"; then
51+
if git ls-remote --heads origin | grep -q "refs/heads/release-$RELEASE_VERSION$"; then
5252
echo "Branch 'release-$RELEASE_VERSION' exists in remote, you should manually delete it from github"
5353
exit 1
5454
fi

0 commit comments

Comments
 (0)