Skip to content

Commit

Permalink
fix: 🐛 后台管理关于页面版本号显示不正确
Browse files Browse the repository at this point in the history
  • Loading branch information
aoaostar committed Oct 15, 2022
1 parent bdd1f42 commit c64a182
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
rm -rf toolbox/public/admin
mkdir -p toolbox/public/admin
sed -i "s#v[a-zA-Z0-9.]*#${{ env.VERSION }}#" toolbox/config/version.php
sed -i '3d' toolbox-web/package.json
sed -i "3 i\ \"version\": \"${{ env.VERSION }}\"," toolbox-web/package.json
cp -fr toolbox toolbox-full
- name: Build Toolbox
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
rm -rf toolbox/public/admin
mkdir -p toolbox/public/admin
sed -i "s#v[a-zA-Z0-9.]*#${{ env.VERSION }}#" toolbox/config/version.php
sed -i '3d' toolbox-web/package.json
sed -i "3 i\ \"version\": \"${{ env.VERSION }}\"," toolbox-web/package.json
cp -fr toolbox toolbox-full
- name: Build Toolbox
Expand Down

0 comments on commit c64a182

Please # to comment.