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

Commit

Permalink
Merge pull request #120 from exexute/main
Browse files Browse the repository at this point in the history
Fix: update github action
  • Loading branch information
exexute authored Dec 20, 2021
2 parents 1731a5d + 2b9fc42 commit c4768d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
actions: write

strategy:
max-parallel: 4
matrix:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/version_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ NEW_VERSION=$1

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

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

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

git add .
git commit -m "Update: change version to $NEW_VERSION"
Expand Down

0 comments on commit c4768d7

Please sign in to comment.