fix: tweaking publication file
This commit is contained in:
parent
f3660591f7
commit
f9bd56ecef
3 changed files with 24 additions and 4 deletions
|
@ -8,15 +8,17 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
commands:
|
||||||
|
- rm -f *.pdf *.epub
|
||||||
- nix develop --command scripts/build.sh
|
- nix develop --command scripts/build.sh
|
||||||
- name: test
|
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
||||||
commands:
|
|
||||||
- nix develop --command scripts/test.sh
|
- nix develop --command scripts/test.sh
|
||||||
- name: release
|
- name: release
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
commands:
|
||||||
|
- rm -f *.pdf *.epub
|
||||||
- nix develop --command scripts/release.sh
|
- nix develop --command scripts/release.sh
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: GITEA_TOKEN
|
from_secret: GITEA_TOKEN
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
|
@ -45,6 +45,24 @@
|
||||||
"module": "@mfgames-writing/hyphen-pipeline"
|
"module": "@mfgames-writing/hyphen-pipeline"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"element": "chapter",
|
||||||
|
"source": "src/counts.md",
|
||||||
|
"pipeline": [
|
||||||
|
{
|
||||||
|
"module": "@mfgames-writing/hyphen-pipeline"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"element": "chapter",
|
||||||
|
"source": "src/self-serve.md",
|
||||||
|
"pipeline": [
|
||||||
|
{
|
||||||
|
"module": "@mfgames-writing/hyphen-pipeline"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ module.exports = {
|
||||||
|
|
||||||
extends: ["@commitlint/config-conventional"],
|
extends: ["@commitlint/config-conventional"],
|
||||||
message:
|
message:
|
||||||
"chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
|
"chore(release): v${nextRelease.version} [CI SKIP]\n\n${nextRelease.notes}",
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue