Skip to content

Commit

Permalink
Merge branch 'main' into issue/232
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassabreu authored May 30, 2024
2 parents 76fcaea + 9e4a989 commit 0864cbd
Show file tree
Hide file tree
Showing 26 changed files with 473 additions and 1,065 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: 1.19
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: go-setup
uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: 1.19
- name: install snapcraft
run: |
sudo apt-get update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: 1.19

- name: Get dependencies
run: |
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ snapcrafts:

grade: stable
publish: true
confinement: strict

apps:
clockify-cli:
Expand All @@ -54,7 +55,7 @@ brews:
- repository:
owner: lucassabreu
name: homebrew-tap
folder: Formula
directory: Formula
homepage: https://github.com/lucassabreu/clockify-cli
description: Helps to interact with Clockfy's API
test: |
Expand Down
33 changes: 32 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v0.51.1] - 2024-05-30

### Fixed

- when using `show-client` without `show-task` column headers became unaligned

## [v0.51.0] - 2024-05-29

### Added
- new config `show-client` that sets the reports/output of time entries to show its client, if exists

## [v0.50.1] - 2024-05-25

### Fixed

- snapcraft requires explicit confinement

## [v0.50.0] - 2024-05-25

### Added
- more unit tests

### Changed

- using throttle/ticket providing system to limit requests per second to the clockify's api to prevent the
error message: `Too Many Requests (code: 429)`
- upgrade go version to 1.19

## [v0.49.0] - 2024-03-29

### Added
Expand Down Expand Up @@ -1162,7 +1190,10 @@ time entry.
- Golang CLI using [cobra](https://github.com/spf13/cobra)
- Makefile to help setup actions

[Unreleased]: https://github.com/lucassabreu/clockify-cli/compare/v0.49.0...HEAD
[Unreleased]: https://github.com/lucassabreu/clockify-cli/compare/v0.51.0...HEAD
[v0.51.0]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.51.0
[v0.50.1]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.50.1
[v0.50.0]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.50.0
[v0.49.0]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.49.0
[v0.48.2]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.48.2
[v0.48.1]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.48.1
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ size/complexity of it.
## Building the project

Prerequisites:
- Go 1.17+
- Go 1.19+

Run `make deps-install` to install the packages used by the project.

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tag=
release: ## releases a tagged version
sed "/^## \[$(tag)/, /^## \[/!d" CHANGELOG.md | tail -n +2 | head -n -2 > /tmp/rn.md
curl -sL https://git.io/goreleaser | bash /dev/stdin --release-notes /tmp/rn.md \
--clean $(if $(SNAPSHOT),--snapshot --skip-publish,)
--clean $(if $(SNAPSHOT),--snapshot --skip=publish,)
ifneq ($(SNAPSHOT),1)
curl -X POST -d '{"trigger_branch":"$(tag)","trigger_title":"Releasing $(tag)"}' https://api.netlify.com/build_hooks/5eef4f99028bddbb4093e4c6 -v
endif
Expand Down
Loading

0 comments on commit 0864cbd

Please sign in to comment.