Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
RayWangQvQ committed Mar 8, 2023
1 parent bb148ba commit 11f2915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
cd ./scripts
chmod +x ./publish.sh
. publish.sh --runtime all
- name: Copy zip files
run: |
cp -f ./src/Ray.BiliBiliTool.Console/bin/Publish/*.zip ./
- name: Get release content
id: release_content
Expand All @@ -56,7 +52,7 @@ jobs:
id: upload-release-asset
uses: softprops/action-gh-release@v1
with:
files: *.zip
files: ./src/Ray.BiliBiliTool.Console/bin/Publish/*.zip
token: ${{ secrets.GITHUB_TOKEN }}
name: BiliBiliToolPro-V${{ github.event.inputs.version }}
tag_name: ${{ github.event.inputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ publish_self_contained() {

echo "zip files..."
cd $publishDir
zip -q -r bilibili-tool-pro-v$version-$runtime.zip $publishDir/$runtime/*
zip -q -r bilibili-tool-pro-v$version-$runtime.zip ./$runtime/*
ls -l
echo -e "---------publish successfully---------\n\n"
}
Expand All @@ -108,7 +108,7 @@ publish_tencentScf() {
cp -r $repoDir/tencentScf/bootstrap $repoDir/tencentScf/index.sh ./linux-x64/
cd ./linux-x64
chmod 755 index.sh bootstrap
zip -q -r ../bilibili-tool-pro-v$version-tencent-scf.zip ./*
zip -r ../bilibili-tool-pro-v$version-tencent-scf.zip ./*
cd .. && ls
echo -e "---------publish successfully---------\n\n"
}
Expand Down

0 comments on commit 11f2915

Please sign in to comment.