Skip to content

Commit

Permalink
fix: 处理展开类型的向后兼容
Browse files Browse the repository at this point in the history
- 默认发布为 prerelease
  • Loading branch information
atxy-blip committed Mar 19, 2024
1 parent 3947fa8 commit 6f7df0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
prerelease: true
files: |
njuthesis-v*.pdf
njuthesis-user-v*.zip
Expand Down
7 changes: 6 additions & 1 deletion source/njuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ To produce the documentation run the original source files ending with
% 新的一章以及封面、摘要、参考文献表等特殊页面都会从奇数页开始,
% 在奇数页结束的内容后会补上一页空页,更适合印刷输出。
%
% \begin{function}[added=2021-12-15]{draft}
% \begin{function}[added=2021-12-15,updated=2024-03-19]{draft}
% \begin{syntax}
% <\OPT{draft}>
% \end{syntax}
Expand Down Expand Up @@ -4650,6 +4650,11 @@ To produce the documentation run the original source files ending with
{ \keys_define:nn { nju / info } { #1 * .groups:n = { anonymous } } }
% \end{macrocode}
%
% 处理新增的展开类型,实现向后兼容。
% \begin{macrocode}
\cs_generate_variant:Nn \tl_gset:Nn { Ne }
% \end{macrocode}
%
% \changes{v0.15}{2022/01/22}{正确处理双导师信息。}
% \changes{v1.1}{2022/11/04}{修复研究生模板封面的导师信息居中问题。}
% 在导言区录入用户信息后进行变量设置。此处使用到了 \pkg{ctex} 提供的命令,
Expand Down

0 comments on commit 6f7df0e

Please sign in to comment.