Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Commit c4768d7

Browse files
authored
Merge pull request #120 from exexute/main
Fix: update github action
2 parents 1731a5d + 2b9fc42 commit c4768d7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release_engine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: write
12-
actions: write
12+
1313
strategy:
1414
max-parallel: 4
1515
matrix:

.github/workflows/version_update.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ NEW_VERSION=$1
22

33
echo "curent path: $(pwd), change version to $NEW_VERSION"
44

5-
git config --global user.name "$GITHUB_ACTOR"
6-
git config --global user.email "$GITHUB_ACTOR@bot.noreplay.dongtai.io"
5+
git config --global user.name "$GITHUB_ACTOR-bot"
6+
git config --global user.email "$GITHUB_ACTOR-bot@dongtai.io"
77
git checkout -b "release-$NEW_VERSION"
88

99
sed -i "s/:latest/:$NEW_VERSION/g" README.md
1010
sed -i "s/:latest/:$NEW_VERSION/g" README_CN.md
11-
sed -i "s/dongtai-mysql:latest/dongtai-mysql:$NEW_VERSION/g" .github/workflows/deploy_test.yml
1211

1312
git add .
1413
git commit -m "Update: change version to $NEW_VERSION"

0 commit comments

Comments
 (0)