Skip to content

Commit

Permalink
ci: fix releases and add linkcheck (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Oct 16, 2023
1 parent ff7cdd0 commit 48bead3
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 68 deletions.
23 changes: 0 additions & 23 deletions .chglog/CHANGELOG.tpl.md

This file was deleted.

25 changes: 0 additions & 25 deletions .chglog/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion .dictionary
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
url-parser
Codecov
herloct
multiarch
(P|p)rebuilt
47 changes: 47 additions & 0 deletions .gitsv/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
version: "1.1"

versioning:
update-major: []
update-minor: [feat]
update-patch: [fix, perf, refactor, chore, test, ci, docs]

tag:
pattern: "v%d.%d.%d"

release-notes:
sections:
- name: Features
commit-types: [feat]
section-type: commits
- name: Bug Fixes
commit-types: [fix]
section-type: commits
- name: Performance Improvements
commit-types: [perf]
section-type: commits
- name: Code Refactoring
commit-types: [refactor]
section-type: commits
- name: Others
commit-types: [chore]
section-type: commits
- name: Testing
commit-types: [test]
section-type: commits
- name: CI Pipeline
commit-types: [ci]
section-type: commits
- name: Documentation
commit-types: [docs]
section-type: commits
- name: Breaking Changes
section-type: breaking-changes

commit-message:
footer:
issue:
key: issue
add-value-prefix: "#"
issue:
regex: "#?[0-9]+"
16 changes: 6 additions & 10 deletions .woodpecker/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ steps:
commands:
- $(find dist/ -executable -type f -iname ${CI_REPO_NAME}-linux-amd64) --help

changelog-generate:
image: quay.io/thegeeklab/git-chglog
changelog:
image: quay.io/thegeeklab/git-sv
commands:
- git fetch -tq
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${CI_COMMIT_TAG:---next-tag unreleased unreleased}

changelog-format:
image: quay.io/thegeeklab/alpine-tools
commands:
- prettier CHANGELOG.md
- prettier -w CHANGELOG.md
- 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
Expand Down
8 changes: 0 additions & 8 deletions .woodpecker/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,3 @@ steps:
image: docker.io/library/golang:1.21
commands:
- make test

# coverage:
# image: docker.io/plugins/codecov
# settings:
# files:
# - coverage.out
# token:
# from_secret: codecov_token
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Simple command-line URL parser

[![Build Status](https://ci.thegeeklab.de/api/badges/thegeeklab/url-parser/status.svg)](https://ci.thegeeklab.de/repos/thegeeklab/url-parser)
[![Go Report Card](https://goreportcard.com/badge/github.com/thegeeklab/url-parser)](https://goreportcard.com/report/github.com/thegeeklab/url-parser)
[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/url-parser)](https://codecov.io/gh/thegeeklab/url-parser)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/url-parser)](https://github.com/thegeeklab/url-parser/graphs/contributors)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/url-parser)](https://github.com/thegeeklab/url-parser/blob/main/LICENSE)

Expand Down

0 comments on commit 48bead3

Please sign in to comment.