From f9bd56ecef9a5b704578298fc2939f0857ac2713 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Mon, 16 May 2022 22:03:37 -0500 Subject: [PATCH] fix: tweaking publication file --- .drone.yml | 8 +++++--- publication.json | 18 ++++++++++++++++++ release.config.js | 2 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index adb5f0c..b5e3f3e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,15 +8,17 @@ steps: - name: build image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: + - rm -f *.pdf *.epub - nix develop --command scripts/build.sh - - name: test - image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest - commands: - nix develop --command scripts/test.sh - name: release image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: + - rm -f *.pdf *.epub - nix develop --command scripts/release.sh environment: GITEA_TOKEN: from_secret: GITEA_TOKEN + when: + branch: + - main diff --git a/publication.json b/publication.json index cc97217..561dc70 100644 --- a/publication.json +++ b/publication.json @@ -45,6 +45,24 @@ "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" + } + ] } ] } diff --git a/release.config.js b/release.config.js index 3481e3f..1755494 100644 --- a/release.config.js +++ b/release.config.js @@ -3,7 +3,7 @@ module.exports = { extends: ["@commitlint/config-conventional"], message: - "chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}", + "chore(release): v${nextRelease.version} [CI SKIP]\n\n${nextRelease.notes}", plugins: [ [