diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index 4a68fd9..2a08e27 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -21,13 +21,17 @@ steps: image: quay.io/thegeeklab/git-sv commands: - git fetch --depth=2147483647 + - git sv current-version - git sv release-notes + - git sv release-notes -o CHANGELOG.md publish-github: image: docker.io/plugins/github-release settings: api_key: from_secret: github_token + files: + - dist/* note: CHANGELOG.md overwrite: true title: ${CI_COMMIT_TAG} diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index c16e34d..9f2f3ff 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -19,6 +19,12 @@ steps: FORCE_COLOR: "true" NPM_CONFIG_LOGLEVEL: "error" + link-validation: + image: docker.io/lycheeverse/lychee + group: test + commands: + - lychee --no-progress --format detailed README.md + pushrm-dockerhub: image: docker.io/chko/docker-pushrm:1 secrets: diff --git a/README.md b/README.md index 1bd5786..ad2133c 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ commit-message: #### Templates -**git-sv** uses _go templates_ to format the output for `release-notes` and `changelog`, to see how the default template is configured check [template directory](cmd/git-sv/resources/templates). It's possible to overwrite the default configuration by adding `.gitsv/templates` on your repository. The cli expects that at least 2 files exists on your directory: `changelog-md.tpl` and `releasenotes-md.tpl`. +**git-sv** uses _go templates_ to format the output for `release-notes` and `changelog`, to see how the default template is configured check [template directory](https://github.com/thegeeklab/git-sv/tree/main/templates/assets). It's possible to overwrite the default configuration by adding `.gitsv/templates` on your repository. ```Shell .gitsv