Skip to content

改进发布流程 #625

Closed
Closed
@YDX-2147483647

Description

@YDX-2147483647

改进bithesis.cls中版本号的更新方式

目前采用手动更新,pre-release、PR 测试都不会更新版本号,会引发困惑。

https://github.com/BITNP/BIThesis/blob/c97d7975e8a7fc52ad5af64c82e84e22458437b2/.github/ISSUE_TEMPLATE/release-tracker.md
dfb29fe

BIThesis/bithesis.dtx

Lines 23 to 27 in c97d797

%<beamer>\ProvidesExplClass{bitbeamer}
%<cls>{2025-04-08}{3.8.3}{BIT Thesis Templates}
%
%<*driver>
\ProvidesFile{bithesis.dtx}[2025/04/08 3.8.3 BIT Thesis Templates]

建议改成这种格式。

{2025-04-15}{3.8.3-eb734a9-bookmarked}{BIT Thesis Templates}

或者:

$  git describe --tags
v3.8.3-21-geb734a9

又如:

https://github.com/josephwright/siunitx/blob/130320d6c86fbf96761104e2abf141d25e838089/build.lua#L49-L73

相关文档

texdoc source2e:

\ProvidesPackage
A package can identify itself with the \ProvidesPackage{⟨name⟩}[⟨version⟩] command.
The ⟨version⟩ should begin with a date in the format YYYY/MM/DD.

texdoc interface3:

\ProvidesExplPackage
\ProvidesExplClass
\ProvidesExplFile

\ProvidesExplPackage {⟨package⟩} {⟨date⟩} {⟨version⟩} {⟨description⟩}

These functions act broadly in the same way as the corresponding LATEX2ε kernel functions \ProvidesPackage, \ProvidesClass and \ProvidesFile. However, they also implicitly switch \ExplSyntaxOn for the remainder of the code with the file. At the end of the file, \ExplSyntaxOff will be called to reverse this. (This is the same concept as LATEX2ε provides in turning on \makeatletter within package and class code.) The ⟨date⟩ should be given in the format ⟨year⟩/⟨month⟩/⟨day⟩ or in the ISO date format ⟨year⟩-⟨month⟩-⟨day⟩. If the ⟨version⟩ is given then a leading v is optional: if given as
a “pure” version string, a v will be prepended.

上传快速使用指南到 CTAN

#622
BITNP/BIThesis-wiki#509

直接把要求写在 CTAN: Upload 的“Administrative notes (to the CTAN maintainers)”就行了,或者单独发邮件给 ctan@ctan.org 也行。

也许最好把两个快速使用指南合并一下?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions