Skip to content

Commit

Permalink
ci(fix): add caches
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbaehler committed Oct 18, 2023
1 parent 7c93242 commit f65e324
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
9 changes: 6 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ builds:
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- >-
-X github.com/oliverbaehler/{{ .ProjectName }}/cmd/{{ .ProjectName }}/cmd.Version={{ .Tag }}
-X github.com/oliverbaehler/{{ .ProjectName }}/cmd/{{ .ProjectName }}/cmd.GitCommit={{ .Commit }}
-X github.com/oliverbaehler/{{ .ProjectName }}/cmd/{{ .ProjectName }}/cmd.BuildDate={{ .Date }}
-X main.Version={{ .Tag }}
-X main.GitCommit={{ .Commit }}
-X main.GitTag={{ .Tag }}
-X main.GitTreeState={{ .Date }}
-X main.BuildDate={{ .Date }}
-X main.GitRepo={{ .ProjectName }}
release:
prerelease: auto
footer: |
Expand Down
21 changes: 14 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,30 @@ All contributions are welcome! If you find a bug or have a feature request, plea
## Pull Requests


### Commits
## Commits

Commit messages should indicate the change and it's impact. The general format for commit messages is the following:

<change-type>(<component>): cool contribution
feat(ui): Add `Button` component
^ ^ ^
| | |__ Subject
| |_______ Scope
|____________ Type

The following `<change-type>` items are available:
The commits are checked on pull-request. If the commit message does not follow the format, the workflow will fail. See the [Types](#types) and [Scopes](#scopes) sections for more information.

## Types

The following types are allowed for commits and pull requests:

* `ci` or `build`: changes to buillding process/workflows
* `docs`: changes to documentation
* `feat`: new features
* `fix`: bug fixes
* `fix(deps)` or `feat(deps)`: dependency updates

The changes should be grouped by component. The following `<component>` items are available:
## Scopes

The following types are allowed for commits and pull requests:

* `all`: changes that affect all components
* `chart`: changes to the Helm chart
Expand All @@ -36,8 +45,6 @@ The changes should be grouped by component. The following `<component>` items ar
* `release`: changes to the release process
* `deps`: dependency updates

The commits are checked on pull-request. If the commit message does not follow the format, the workflow will fail.

### Sign-Off

Developer Certificate of Origin (DCO) Sign off
Expand Down

0 comments on commit f65e324

Please sign in to comment.