Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Aug 11, 2024
1 parent 9f5e3a4 commit 6c62f1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
export GOROOT=$PWD/go1.23
export PATH=$GOROOT/bin:$PATH
go version
./update_kitex.sh 0bc4a44e9521a73914965c8c3b236e100edd1a95
./update_kitex.sh 0bc4a44e9521a73914965c8c3b236e100edd1a95 ./go1.23
6 changes: 3 additions & 3 deletions update_kitex.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash

version=$1

exclude=$2

# find go.mod and update dependencies
find . -name go.mod -print0 | while IFS= read -r -d '' script; do
# get absolute dir path
pwd=$(pwd)
script_dir=$(dirname "$script")
if [ "$script_dir" == "./go1.23" ]; then
if [ "$script_dir" == "$exclude" ]; then
continue
fi
echo $script_dir
Expand All @@ -20,7 +20,7 @@ done

find . -name test.sh -print0 | while IFS= read -r -d '' script; do
script_dir=$(dirname "$script")
if [ "$script_dir" == "./go1.23" ]; then
if [ "$script_dir" == "$exclude" ]; then
continue
fi
chmod +x "$script"
Expand Down

0 comments on commit 6c62f1b

Please sign in to comment.