Skip to content

Commit 48b6d2c

Browse files
authored
Update release docs & remove snapcraft (#1174)
1 parent 4959590 commit 48b6d2c

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
![GitHub all releases](https://img.shields.io/github/downloads/nginx/nginx-prometheus-exporter/total?logo=github)
88
![GitHub release (latest by SemVer)](https://img.shields.io/github/downloads/nginx/nginx-prometheus-exporter/latest/total?sort=semver&logo=github)
99
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nginx/nginx-prometheus-exporter?logo=github&sort=semver)](https://github.com/nginx/nginx-prometheus-exporter/releases/latest)
10-
[![nginx-prometheus-exporter](https://snapcraft.io/nginx-prometheus-exporter/badge.svg)](https://snapcraft.io/nginx-prometheus-exporter)
1110
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/nginx/nginx-prometheus-exporter?logo=go)
1211
[![Docker Pulls](https://img.shields.io/docker/pulls/nginx/nginx-prometheus-exporter?logo=docker&logoColor=white)](https://hub.docker.com/r/nginx/nginx-prometheus-exporter)
1312
![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/nginx/nginx-prometheus-exporter?logo=docker&logoColor=white&sort=semver)
@@ -54,7 +53,6 @@ NGINX Prometheus exporter makes it possible to monitor NGINX or NGINX Plus using
5453
- [Docker images](#docker-images)
5554
- [Binaries](#binaries)
5655
- [Homebrew](#homebrew)
57-
- [Snap](#snap)
5856
- [Scoop](#scoop)
5957
- [Nix](#nix)
6058
- [Building the Exporter](#building-the-exporter)
@@ -475,14 +473,6 @@ and then install the formula with
475473
brew install nginx-prometheus-exporter
476474
```
477475

478-
### Snap
479-
480-
You can install the NGINX Prometheus Exporter from the [Snap Store](https://snapcraft.io/nginx-prometheus-exporter).
481-
482-
```console
483-
snap install nginx-prometheus-exporter
484-
```
485-
486476
### Scoop
487477

488478
You can add the NGINX Scoop bucket with

release-process.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,24 @@ the [Issue Lifecycle](/ISSUE_LIFECYCLE.md) document for information on issue cre
3131
to ensure that everything is in order.
3232
4. Create a PR to update the version in the `Makefile` and [README](README.md) to the new version, and any other necessary
3333
changes.
34-
5. Once the PR is merged, create a new release tag in the format `vX.Y.Z`:
34+
5. Once the PR is merged, run the release workflow called `Release NGINX Prometheus Exporter` with the new version for the
35+
`version` input:
3536

36-
```bash
37-
git tag -a vX.Y.Z -m "Release vX.Y.Z"
38-
git push origin vX.Y.Z
37+
```text
38+
inputs.version: 1.5.1
39+
```
40+
41+
You can optionally use the following inputs:
42+
43+
```text
44+
inputs.dry_run # Run the release but don't push or publish any artifacts.
45+
inputs.goreleaser_args # Any additional `goreleaser` args you want to pass.
46+
inputs.skip_jobs # Comma separated list of jobs to be skipped, useful for reruns.
47+
inputs.branch # Branch to release from (e.g., when re-running a previous release)
3948
```
4049

4150
As a result, the CI/CD pipeline will:
4251

4352
- Build the Docker image and push it to the registries.
44-
- Publish the release to Snapcraft, Homebrew, Scoop, and Nix.
53+
- Publish the release to Homebrew, Scoop, and Nix.
4554
- Create a GitHub release with the autogenerated changelog and artifacts attached.

0 commit comments

Comments
 (0)