File tree 4 files changed +26
-13
lines changed
4 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 1
- image : rust
2
- variables :
3
- CARGO_HOME : $CI_PROJECT_DIR/cargo
4
-
5
- cache :
6
- paths :
7
- - $CARGO_HOME
8
-
9
1
stages :
10
2
- check
11
3
- release
12
4
13
- before_script :
14
- - export PATH="$PATH:$CARGO_HOME/bin"
15
- - cargo install typst-cli git-cliff sd
16
-
17
5
# each merge request are required to ensure compiling the `.typ`s file successfully.
18
6
check-merge-request :
19
7
stage : check
8
+ image : rust
9
+ variables :
10
+ CARGO_HOME : $CI_PROJECT_DIR/cargo
11
+ cache :
12
+ paths :
13
+ - $CARGO_HOME
20
14
rules :
21
15
- if : $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
16
+ before_script :
17
+ - export PATH="$PATH:$CARGO_HOME/bin"
18
+ - cargo install typst-cli git-cliff sd
22
19
script :
23
20
- typst compile --root=$CI_PROJECT_DIR --font-path=$CI_PROJECT_DIR/fonts $CI_PROJECT_DIR/template/thesis.typ
24
21
25
22
check-default-branch :
26
23
stage : check
24
+ image : rust
25
+ variables :
26
+ CARGO_HOME : $CI_PROJECT_DIR/cargo
27
+ cache :
28
+ paths :
29
+ - $CARGO_HOME
27
30
rules :
28
31
- if : $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
32
+ before_script :
33
+ - export PATH="$PATH:$CARGO_HOME/bin"
34
+ - cargo install typst-cli git-cliff sd
29
35
script :
30
36
- typst compile --root=$CI_PROJECT_DIR --font-path=$CI_PROJECT_DIR/fonts $CI_PROJECT_DIR/template/thesis.typ $CI_PROJECT_DIR/thesis_preview.pdf
31
37
# TODO(#1): the preview pdf should be generated by template repo
Original file line number Diff line number Diff line change 16
16
- [ ] 最后一个提交已更新 ` CHANGELOG.md` :
17
17
` ` ` sh
18
18
git cliff --unreleased --tag $BUMPED_VERSION --prepend CHANGELOG.md -- --newest
19
+ git add CHANGELOG.md
19
20
` ` `
20
21
- [ ] 最后一个提交的提交信息符合 ` chore(release): $BUMPED_VERSION `
21
22
` ` ` sh
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+ ## [ 0.1.1-alpha.3] - 2024-05-17
6
+
7
+ ### ⚙️ Miscellaneous Tasks
8
+
9
+ - * (gitlab-ci)* 修复CI脚本复用问题
10
+
5
11
## [ 0.1.1-alpha.2] - 2024-05-17
6
12
7
13
### 📚 Documentation
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " morden-sysu-thesis"
3
- version = " 0.1.1-alpha.2 "
3
+ version = " 0.1.1-alpha.3 "
4
4
entrypoint = " lib.typ"
5
5
repository = " https://gitlab.com/sysu-gitlab/thesis-template/better-thesis"
6
6
authors = [" howardlau1999 <@howardlau1999>" , " Sunny Huang <@huangjj27>" ]
You can’t perform that action at this time.
0 commit comments