Skip to content

Commit

Permalink
修正workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Biubush committed Aug 27, 2023
1 parent dae18f4 commit f406f99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Build the Flask Project
run: |
mkdir dist
pyinstaller -D run.py --add-data "./app:./app" --distpath dist -n alys
pyinstaller -D app.py --add-data "./static:./static" --add-data "./templates:./templates" --distpath dist -n alys
- name: Package the Flask Project
run: |
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
pip install -r requirements.txt
mkdir dist
mkdir binary
pyinstaller -D run.py --add-data "./app:./app" --distpath dist -n alys
pyinstaller -D app.py --add-data "./static:./static" --add-data "./templates:./templates" --distpath dist -n alys
mv dist/alys dist/alys_${{ steps.extract_tag.outputs.tag_name }}_linux_arm64
cd dist
tar -czf alys_${{ steps.extract_tag.outputs.tag_name }}_linux_arm64.tar.gz *
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Build the Flask Project
run: |
mkdir dist
pyinstaller -D run.py --add-data "./app;./app" --distpath dist -n alys
pyinstaller -D app.py --add-data "./static;./static" --add-data "./templates;./templates" --distpath dist -n alys
- name: Package the Flask Project
run: |
Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def before_request():
WEBSITE = None # 个人ALYS项目域名
USER = None # 临时用户记录,用于登录阿里云盘
STARTUP = False # 标志初始化结束
VERSION = "V1.0.3" # 当前版本号
VERSION = "V1.0.4" # 当前版本号
# ---------------------------------------路由--------------------------------------


Expand Down

0 comments on commit f406f99

Please sign in to comment.