Skip to content

Commit

Permalink
* 测试自动发布源
Browse files Browse the repository at this point in the history
  • Loading branch information
jadehh committed Mar 27, 2024
1 parent 26cce49 commit e769991
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ jobs:
- name: 新建分支
run: |
ls -l
git branch
git config --global user.email "[email protected]"
git config --global user.name "jade"
git checkout js -b dist ##分支不存在用这个
checkname=$(git rev-list --max-parents=0 HEAD)
git checkout $checkname -b dist ##分支不存在用这个
# git checkout dist ## 分支已存在用这个
cp -r code/nodejs/dist/* ./
git add index.config.js
Expand Down

0 comments on commit e769991

Please sign in to comment.