Skip to content

Commit 039ab6c

Browse files
committed
(fix): trigger deploy to netlify
1 parent 34afbba commit 039ab6c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
## [Unreleased]
1313

14+
## [v0.7.2] - 2020-06-21
15+
16+
### Fixed
17+
18+
- using JSON to notify Netlify, to prevent "malformed url errors"
19+
1420
## [v0.7.1] - 2020-06-21
1521

1622
### Fixed
@@ -247,7 +253,8 @@ time entry.
247253
- Golang CLI using [cobra](https://github.com/spf13/cobra)
248254
- Makefile to help setup actions
249255

250-
[Unreleased]: https://github.com/lucassabreu/clockify-cli/compare/v0.7.1...HEAD
256+
[Unreleased]: https://github.com/lucassabreu/clockify-cli/compare/v0.7.2...HEAD
257+
[v0.7.2]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.7.2
251258
[v0.7.1]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.7.1
252259
[v0.7.0]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.7.0
253260
[v0.6.1]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.6.1

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ release: ## releases a tagged version
4141
curl -sL https://git.io/goreleaser | bash /dev/stdin --release-notes /tmp/rn.md \
4242
--rm-dist $(if $(SNAPSHOT),--snapshot --skip-publish,)
4343
ifneq ($(SNAPSHOT),1)
44-
curl -X POST -d {} "https://api.netlify.com/build_hooks/5eef4f99028bddbb4093e4c6?trigger_branch=$(tag)&trigger_title=Releasing $(tag)"
44+
curl -X POST -d '{"trigger_branch":"$(tag)","trigger_title":"Releasing $(tag)"}' https://api.netlify.com/build_hooks/5eef4f99028bddbb4093e4c6 -v
4545
endif

0 commit comments

Comments
 (0)