From 1b2120fefda5f7ec4b869f509f4d9171adf4f0f2 Mon Sep 17 00:00:00 2001 From: Anton Yurchenko Date: Sun, 1 Aug 2021 11:46:59 +0300 Subject: [PATCH] 1.0.3 --- .bump | 2 ++ CHANGELOG.md | 7 ++++++- Dockerfile | 4 ++-- Makefile | 2 +- app_test.go | 6 ++++-- go.mod | 4 ++-- main_test.go | 3 ++- 7 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 .bump diff --git a/.bump b/.bump new file mode 100644 index 0000000..38cc167 --- /dev/null +++ b/.bump @@ -0,0 +1,2 @@ +[docker] +enabled = true \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b182003..a003f17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,18 @@ +## [1.0.3] - 2021-08-01 +### Changed +- Upgrade dependencies + ## [1.0.2] - 2021-06-02 ### Changed - Upgrade dependencies -## [1.0.1](https://github.com/ReasonSoftware/action-notify-slack/releases/tag/v1.0.1) - 2021-05-01 +## [1.0.1] - 2021-05-01 - First release ## [1.0.0] - 2021-02-14 - First release +[1.0.3]: https://github.com/ReasonSoftware/action-notify-slack/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/ReasonSoftware/action-notify-slack/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/ReasonSoftware/action-notify-slack/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/ReasonSoftware/action-notify-slack/releases/tag/v1.0.0 diff --git a/Dockerfile b/Dockerfile index 3ffe349..ad546af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,9 @@ RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /opt/action-notify-slack FROM scratch LABEL "repository"="https://github.com/ReasonSoftware/action-notify-slack" -LABEL "version"="1.0.2" +LABEL "version"="1.0.3" COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /etc/passwd /etc/passwd COPY LICENSE.md /LICENSE.md COPY --from=build --chown=1000:0 /opt/action-notify-slack /app -ENTRYPOINT [ "/app" ] \ No newline at end of file +ENTRYPOINT [ "/app" ] diff --git a/Makefile b/Makefile index 8c6b70d..253f490 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ init: @rm -f go.mod @rm -f go.sum @rm -rf ./vendor - @go mod init $$(pwd | awk -F'/' '{print "github.com/"$$(NF-1)"/"$$NF}') + @go mod init $$(pwd | awk -F'/' '{print $$NF}') GO_LINTER := $(GO_BIN_DIR)/golangci-lint $(GO_LINTER): diff --git a/app_test.go b/app_test.go index 0522dee..12c236f 100644 --- a/app_test.go +++ b/app_test.go @@ -8,8 +8,10 @@ import ( "testing" "time" - app "github.com/ReasonSoftware/action-notify-slack" - "github.com/ReasonSoftware/action-notify-slack/mocks" + app "action-notify-slack" + + "action-notify-slack/mocks" + "github.com/pkg/errors" "github.com/slack-go/slack" "github.com/stretchr/testify/assert" diff --git a/go.mod b/go.mod index 125ce23..24c127f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module github.com/ReasonSoftware/action-notify-slack +module action-notify-slack -go 1.15 +go 1.16 require ( github.com/pkg/errors v0.9.1 diff --git a/main_test.go b/main_test.go index 72415db..7a3b593 100644 --- a/main_test.go +++ b/main_test.go @@ -6,7 +6,8 @@ import ( "os" "testing" - app "github.com/ReasonSoftware/action-notify-slack" + app "action-notify-slack" + "github.com/slack-go/slack" "github.com/stretchr/testify/assert" )