From 718e7303efe84117d1f8bdab1e4690ce05c9777f Mon Sep 17 00:00:00 2001 From: Maxime VISONNEAU Date: Mon, 22 May 2023 11:57:00 +0200 Subject: [PATCH] released v0.5.5 --- .github/workflows/release.yml | 2 +- .goreleaser.pre.yml | 1 + .goreleaser.yml | 17 +++++++++-------- CHANGELOG.md | 2 ++ Makefile | 2 +- README.md | 2 +- examples/ha-setup/docker-compose.yml | 2 +- examples/opentelemetry/docker-compose.yml | 2 +- examples/quickstart/docker-compose.yml | 2 +- examples/webhooks/docker-compose.yml | 2 +- 10 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d315e9f..aecca4d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: password: ${{ secrets.QUAY_TOKEN }} - name: Snapcraft config - uses: samuelmeuli/action-snapcraft@v2 + uses: samuelmeuli/action-snapcraft@v1 with: snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }} diff --git a/.goreleaser.pre.yml b/.goreleaser.pre.yml index 7769da16..12862782 100644 --- a/.goreleaser.pre.yml +++ b/.goreleaser.pre.yml @@ -25,6 +25,7 @@ universal_binaries: archives: - name_template: '{{ .ProjectName }}_edge_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + rlcp: true format_overrides: - goos: windows format: zip diff --git a/.goreleaser.yml b/.goreleaser.yml index 9a521364..32455fa2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,7 +24,8 @@ universal_binaries: - {} archives: - - name_template: '{{ .ProjectName }}_edge_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + - name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + rlcp: true format_overrides: - goos: windows format: zip @@ -79,13 +80,13 @@ brews: zsh_completion.install "./helpers/autocomplete/zsh" => "_{{ .ProjectName }}" man1.install "./helpers/manpages/{{ .ProjectName }}.1.gz" -scoop: - description: *description - homepage: *homepage - license: *license - bucket: - owner: mvisonneau - name: scoops +scoops: + - description: *description + homepage: *homepage + license: *license + bucket: + owner: mvisonneau + name: scoops snapcrafts: - summary: *description diff --git a/CHANGELOG.md b/CHANGELOG.md index 56e583eb..d5511a04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [0ver](https://0ver.org) (more or less). ## [Unreleased] +## [v0.5.5] - 2023-05-22 + ### Added - new metrics: diff --git a/Makefile b/Makefile index cc3ecaac..620757f5 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ build: ## Build the binaries using local GOOS .PHONY: release release: ## Build & release the binaries (stable) git tag -d edge - goreleaser release --rm-dist + goreleaser release --clean find dist -type f -name "*.snap" -exec snapcraft upload --release stable,edge '{}' \; .PHONY: protoc diff --git a/README.md b/README.md index d1f82565..1e7f5dd9 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ If you want to quickly try them out with your own data, have a look into the [ex ### Go ```bash -~$ go install github.com/mvisonneau/gitlab-ci-pipelines-exporter/cmd/gitlab-ci-pipelines-exporter@latest +~$ go run github.com/mvisonneau/gitlab-ci-pipelines-exporter/cmd/gitlab-ci-pipelines-exporter@latest ``` ### Snapcraft diff --git a/examples/ha-setup/docker-compose.yml b/examples/ha-setup/docker-compose.yml index e73cb330..ecd0fbfa 100644 --- a/examples/ha-setup/docker-compose.yml +++ b/examples/ha-setup/docker-compose.yml @@ -9,7 +9,7 @@ services: ALLOW_EMPTY_PASSWORD: 'yes' gitlab-ci-pipelines-exporter-1: &gitlab-ci-pipelines-exporter - image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.4 + image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.5 # You can comment out the image name and use the following statement # to build the image against the current version of the repository #build: ../.. diff --git a/examples/opentelemetry/docker-compose.yml b/examples/opentelemetry/docker-compose.yml index c7819ca1..05f5355a 100644 --- a/examples/opentelemetry/docker-compose.yml +++ b/examples/opentelemetry/docker-compose.yml @@ -26,7 +26,7 @@ services: - jaeger gitlab-ci-pipelines-exporter: - image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.4 + image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.5 # You can comment out the image name and use the following statement # to build the image against the current version of the repository # build: ../.. diff --git a/examples/quickstart/docker-compose.yml b/examples/quickstart/docker-compose.yml index b12bd6e1..ca6d5293 100644 --- a/examples/quickstart/docker-compose.yml +++ b/examples/quickstart/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: gitlab-ci-pipelines-exporter: - image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.4 + image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.5 # You can comment out the image name and use the following statement # to build the image against the current version of the repository # build: ../.. diff --git a/examples/webhooks/docker-compose.yml b/examples/webhooks/docker-compose.yml index 8d49972d..bd0bb65f 100644 --- a/examples/webhooks/docker-compose.yml +++ b/examples/webhooks/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: gitlab-ci-pipelines-exporter: - image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.4 + image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.5 # You can comment out the image name and use the following statement # to build the image against the current version of the repository # build: ../..