Skip to content

Commit

Permalink
Merge pull request #693 from RayWangQvQ/develop
Browse files Browse the repository at this point in the history
Release 2.0.4
  • Loading branch information
RayWangQvQ committed Apr 29, 2024
2 parents 01da40d + 68ef98d commit 2f6a4c5
Show file tree
Hide file tree
Showing 48 changed files with 1,451 additions and 1,083 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: No Response

name: Close Stale Issues
on:
# workflow_dispatch:
issue_comment:
types: [created]
schedule:
- cron: '7 4,10 * * *'
- cron: "0 8 * * *" # 每天的 00:00 运行
workflow_dispatch:

permissions:
contents: read
issues: write
pull-requests: write

jobs:
noResponse:
close_stale_issues:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/[email protected]
- name: Close Stale Issues
uses: actions/stale@v5
with:
token: ${{ github.token }}
# closeComment: This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further.
daysUntilClose: 3
responseRequiredLabel: needs-more-info
days-before-stale: 3 # 3 天不活跃后标记Stale
days-before-close: 3 # 标记Stale后3天不活跃则关闭问题
stale-issue-label: "Stale" # 标记为 "Stale" 的问题
stale-issue-message: "🕸️ This has been inactive for 3 days, please confirm if it still needs attention~~" # Comment added
close-issue-message: "🚫 This has been inactive for too long and is now closed, feel free to reopen it if needed!" # Comment added
only-labels: "needs-more-info" # 只处理标签为 "help wanted" 的问题
repo-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
if [ "${{ github.event.release.tag_name }}" ] ; then
TargetVersion=${{ github.event.release.tag_name }}
fi
if [ "${{ github.event.inputs.manualTag }}" ] ; then
TargetVersion=${{ github.event.inputs.manualTag }}
then
TargetVersion=$(echo "$GITHUB_REF" | sed 's/refs\/tags\///')
fi
echo "TargetVersion: $TargetVersion"
echo "TargetVersion=$TargetVersion" >> $GITHUB_OUTPUT
Expand Down
42 changes: 14 additions & 28 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,48 @@
# 打包发布Release

name: Publish release

on:
workflow_dispatch:
inputs:
version:
description: '版本号'
required: true

permissions:
contents: write
discussions: write

jobs:
build:
name: publish relesae
name: Publish Release
if: ${{ github.repository == 'RayWangQvQ/BiliBiliToolPro' }}
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: Checkout Code
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.version }}

- name: Setup .NET
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: '6.0.x'

- name: Publish and zip
- name: Publish and Zip Release
run: |
pwd && ls
cd ./scripts
chmod +x ./publish.sh
. publish.sh --runtime all
./publish.sh --runtime all
- name: Get release content
id: release_content
- name: Extract Release Notes
id: release_notes
run: |
cd ${{ github.workspace }}
pwd && ls
content=$(tac ./CHANGELOG.md | grep -m1 "##" -B 1000 | tac)
echo "Release content: $content"
echo "release_content<<EOF" >> $GITHUB_OUTPUT
echo "$content" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
content=$(grep -m1 "##" -A 1000 ./CHANGELOG.md)
echo "::set-output name=content::$content"
- name: Upload release asset
id: upload-release-asset
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: ./src/Ray.BiliBiliTool.Console/bin/Publish/*.zip
files: './src/Ray.BiliBiliTool.Console/bin/Publish/*.zip'
token: ${{ secrets.GITHUB_TOKEN }}
name: BiliBiliToolPro-V${{ github.event.inputs.version }}
name: "BiliBiliToolPro-V${{ github.event.inputs.version }}"
tag_name: ${{ github.event.inputs.version }}
body: ${{ steps.release_content.outputs.release_content }}
body: ${{ steps.release_notes.outputs.content }}
discussion_category_name: Announcements
generate_release_notes: true
fail_on_unmatched_files: true
47 changes: 25 additions & 22 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,62 @@
## 2.0.3
- PR[#641]:实现浏览会员购页面与观看正片内容功能
- PR[#685]:部分修复大积分功能
- Fix:更新过于老旧的UserAgent
- Fix:更新排行榜api
## 2.0.4
- Fix: 尝试修复大会员大积分“账号风险”异常
- Feature:为agent api创建集成测试
## 2.0.3
- PR[#641]:实现浏览会员购页面与观看正片内容功能
- PR[#685]:部分修复大积分功能
- Fix:更新过于老旧的UserAgent
- Fix:更新排行榜api
## 2.0.2
- PR[#617]:增加专栏投币功能与领取大会员经验的功能
- PR[#617]:增加专栏投币功能与领取大会员经验的功能
## 2.0.1
- PR[#539]:更新文档
- PR[#557]:修复直播接口权限不足问题
- PR[#557]:修复直播接口权限不足问题
## 2.0.0
- Feature[#513]:将基础组件和抽象迁移到nuget包中
- Fix[#543]:修复部分Api调用报“访问权限不足”
- Fix[#543]:修复部分Api调用报“访问权限不足”
## 1.0.3
- Fix #486 : fix release zip error
- Fix #486 : fix release zip error
## 1.0.2
- Fix #484 : fix read dic config error
- Merge PR #472 : add reverse proxy host for telegram notification
- Merge PR #483 : update login field for entrypoint
- Merge PR #483 : update login field for entrypoint
## 1.0.1
- Fix #463 : do not trust user's ck config
- Feature #460 : publish single file when release
- Feature: use new scripts for gh actions's release
- Feature #473 : let user input when there is no target task in configs
- Feature #473 : let user input when there is no target task in configs
## 1.0.0
- Feature: Enable asynchronous
- Fix #344 : Support `Ctrl + C` to trigger exit event
- Fix #451 : Rebuild cookie factory pattern and fix bug of donating coin
- Featur: Replace AOP from MethodBoundaryAspect.Fody to Rougamo.Fody, to fix async exception
- Merge PR #448 : Fix typo
- Fix #446 : Change id type from int to long
- Fix #446 : Change id type from int to long
## 0.4.6
- Fix: ck list init empty error
- Feature #440 : use 'apk add' to install dotnet in qinglong
- Feature #440 : use 'apk add' to install dotnet in qinglong
## 0.4.5
- Fix #423 : Change int to string to avoid overflow exception
- Fix #423 : Change int to string to avoid overflow exception
## 0.4.4
- Fix #228 : Try to fix sharing video error
- Feature: Change default docker image from dockerhub to github
- Feature: Change default docker image from dockerhub to github
## 0.4.3
- Feature #419 : Add a auto shell script for installing with docker
- Feature #396 : Publish docker image to GitHub pkg
- Feature #396 : Publish docker image to GitHub pkg
## 0.4.2
- Merfe PRs #425 #426 #427 : Enhancement docker things, thx @zclkkk
- Merfe PRs #425 #426 #427 : Enhancement docker things, thx @zclkkk
## 0.4.1
- Merge PR #418 : Fix search video api's error, thx @catlair
- Merge PR #418 : Fix search video api's error, thx @catlair
## 0.4.0
- 合并PR( #381 #383 ),新增直播间挂机功能,感谢@bakapiano
- 合并PR( #381 #383 ),新增直播间挂机功能,感谢@bakapiano
## 0.3.2
- Fix( #358 ),获取auth时兼容老版青龙文件路径
- Fix( #364 ),兼容青龙异形response数据类型
- Fix( #366 #361 ),修复一些低级bug
- Feature( #359 ),兼容读取不到`$QL_DIR`的情况
- Feature( #359 ),兼容读取不到`$QL_DIR`的情况
## 0.3.1
- Fix( #260 ),在需要的时候encode cookie
- 更新文档
- 更新文档
## 0.3.0
- hotfix docker build error
- 合并PR(#341),新增krew部署,感谢@chenliu1993
Expand Down Expand Up @@ -85,7 +88,7 @@
- HostConfiguration,删除了CommandLine配置源,推荐只使用环境变量,同时更新青龙shell脚本内配置
-#169】领取大会员福利任务更改为每日都尝试执行
- 青龙拉库兼容大小写问题
-#197】合并PR,新增了阅读漫画功能到每日任务中(@ChanceLuo
-#197】合并PR,新增了阅读漫画功能到每日任务中(@ChanceLuo
## 0.1.1
-#54】优化青龙shell脚本读取仓库目录方式,解决青龙新老版本切换导致出现多个repo目录的bug
-#82】【#85】合并外部PR,更新了文档
Expand Down
Loading

0 comments on commit 2f6a4c5

Please sign in to comment.