Skip to content

Commit 74b5d1e

Browse files
committed
Merge remote-tracking branch 'origin/main' into stack-cloud-provider
2 parents c61f7db + 3e558cc commit 74b5d1e

File tree

5 files changed

+147
-46
lines changed

5 files changed

+147
-46
lines changed

README.md

Lines changed: 54 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,26 @@ elastic-package help
3838

3939
## Development
4040

41-
Download and build the latest main of `elastic-package` binary:
41+
Even though the project is "go-gettable", there is the [`Makefile`](./Makefile) present, which can be used to build,
42+
install, format the source code among others. Some examples of the available targets are:
43+
44+
`make build` - build the tool source
45+
46+
`make clean` - delete elastic-package binary and build folder
47+
48+
`make format` - format the Go code
49+
50+
`make check` - one-liner, used by CI to verify if source code is ready to be pushed to the repository
51+
52+
`make install` - build the tool source and move binary to `$GOBIN`
53+
54+
`make gomod` - ensure go.mod and go.sum are up to date
55+
56+
`make update` - update README.md file
57+
58+
`make licenser` - add the Elastic license header in the source code
59+
60+
To start developing, download and build the latest main of `elastic-package` binary:
4261

4362
```bash
4463
git clone https://github.com/elastic/elastic-package.git
@@ -61,6 +80,40 @@ git rm --cached -r .
6180
git reset --hard
6281
```
6382

83+
### Testing with integrations repository
84+
85+
While working on a new branch, it is interesting to test these changes
86+
with all the packages defined in the [integrations repository](https://github.com/elastic/integrations).
87+
This allows to test a much wider scenarios than the test packages that are defined in this repository.
88+
89+
This test can be triggered automatically directly from your Pull Request by adding a comment `test integrations`. Example:
90+
- Comment: https://github.com/elastic/elastic-package/pull/1335#issuecomment-1619721861
91+
- Pull Request created in integrations repository: https://github.com/elastic/integrations/pull/6756
92+
93+
This comment triggers this [Buildkite pipeline](https://github.com/elastic/elastic-package/blob/6f084e21561105ac9773acab00c3439251f111a0/.buildkite/pipeline.test-with-integrations-repo.yml) ([Buildkite job](https://buildkite.com/elastic/elastic-package-test-with-integrations)).
94+
95+
This pipeline creates a new draft Pull Request in integration updating the required dependencies to test your own changes. As a new pull request is created, a CI
96+
job will be triggered to test all the packages defined in this repository. A new comment with the link to this new Pull Request will be posted in your package-spec Pull Request.
97+
98+
**IMPORTANT**: Remember to close this PR in the integrations repository once you close the package-spec Pull Request.
99+
100+
Usually, this process would require the following manual steps:
101+
1. Create your elastic-package pull request and push all your commits
102+
2. Get the SHA of the latest changeset of your PR:
103+
```bash
104+
$ git show -s --pretty=format:%H
105+
1131866bcff98c29e2c84bcc1c772fff4307aaca
106+
```
107+
3. Go to the integrations repository, and update go.mod and go.sum with that changeset:
108+
```bash
109+
cd /path/to/integrations/repostiory
110+
go mod edit -replace github.com/elastic/elastic-package=github.com/<your_github_user>/elastic-package@1131866bcff98c29e2c84bcc1c772fff4307aaca
111+
go mod tidy
112+
```
113+
4. Push these changes into a branch and create a Pull Request
114+
- Creating this PR would automatically trigger a new Jenkins pipeline.
115+
116+
64117
## Commands
65118

66119
`elastic-package` currently offers the commands listed below.
@@ -512,21 +565,6 @@ The following settings are available per profile:
512565
Elasticsearch in stacks managed by elastic-package. It is recommended to use
513566
an absolute path, out of the `.elastic-package` directory.
514567

515-
## Development
516-
517-
Even though the project is "go-gettable", there is the `Makefile` present, which can be used to build, format or vendor
518-
source code:
519-
520-
`make build` - build the tool source
521-
522-
`make format` - format the Go code
523-
524-
`make install` - build the tool source and move binary to `$GOBIN`
525-
526-
`make vendor` - vendor code of dependencies
527-
528-
`make check` - one-liner, used by CI to verify if source code is ready to be pushed to the repository
529-
530568
## Release process
531569

532570
This project uses [GoReleaser](https://goreleaser.com/) to release a new version of the application (semver). Release publishing

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.20
55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.7
77
github.com/Masterminds/semver/v3 v3.2.1
8-
github.com/ProtonMail/gopenpgp/v2 v2.7.1
8+
github.com/ProtonMail/gopenpgp/v2 v2.7.2
99
github.com/aymerick/raymond v2.0.2+incompatible
1010
github.com/boumenot/gocover-cobertura v1.2.0
1111
github.com/cespare/xxhash/v2 v2.2.0
@@ -36,7 +36,7 @@ require (
3636
golang.org/x/tools v0.11.0
3737
gopkg.in/yaml.v3 v3.0.1
3838
gotest.tools/gotestsum v1.10.1
39-
helm.sh/helm/v3 v3.12.1
39+
helm.sh/helm/v3 v3.12.2
4040
honnef.co/go/tools v0.4.3
4141
k8s.io/apimachinery v0.27.3
4242
k8s.io/cli-runtime v0.27.3
@@ -53,7 +53,7 @@ require (
5353
github.com/PaesslerAG/gval v1.2.1 // indirect
5454
github.com/PaesslerAG/jsonpath v0.1.1 // indirect
5555
github.com/Pallinder/go-randomdata v1.2.0 // indirect
56-
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
56+
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect
5757
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f // indirect
5858
github.com/acomagu/bufpipe v1.0.4 // indirect
5959
github.com/andybalholm/brotli v1.0.4 // indirect

go.sum

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ github.com/PaesslerAG/jsonpath v0.1.1 h1:c1/AToHQMVsduPAa4Vh6xp2U0evy4t8SWp8imEs
3030
github.com/PaesslerAG/jsonpath v0.1.1/go.mod h1:lVboNxFGal/VwW6d9JzIy56bUsYAP6tH/x80vjnCseY=
3131
github.com/Pallinder/go-randomdata v1.2.0 h1:DZ41wBchNRb/0GfsePLiSwb0PHZmT67XY00lCDlaYPg=
3232
github.com/Pallinder/go-randomdata v1.2.0/go.mod h1:yHmJgulpD2Nfrm0cR9tI/+oAgRqCQQixsA8HyRZfV9Y=
33-
github.com/ProtonMail/go-crypto v0.0.0-20230321155629-9a39f2531310/go.mod h1:8TI4H3IbrackdNgv+92dI+rhpCaLqM0IfpgCgenFvRE=
34-
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 h1:ZK3C5DtzV2nVAQTx5S5jQvMeDqWtD1By5mOoyY/xJek=
35-
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903/go.mod h1:8TI4H3IbrackdNgv+92dI+rhpCaLqM0IfpgCgenFvRE=
33+
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs=
34+
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0=
3635
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k=
3736
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw=
38-
github.com/ProtonMail/gopenpgp/v2 v2.7.1 h1:Awsg7MPc2gD3I7IFac2qE3Gdls0lZW8SzrFZ3k1oz0s=
39-
github.com/ProtonMail/gopenpgp/v2 v2.7.1/go.mod h1:/BU5gfAVwqyd8EfC3Eu7zmuhwYQpKs+cGD8M//iiaxs=
37+
github.com/ProtonMail/gopenpgp/v2 v2.7.2 h1:mIwxSUPezxNYq0RA5106VPWyKC+Ly3FvBUnBJh/7GWw=
38+
github.com/ProtonMail/gopenpgp/v2 v2.7.2/go.mod h1:IhkNEDaxec6NyzSI0PlxapinnwPVIESk8/76da3Ct3g=
4039
github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
4140
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
4241
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
@@ -65,7 +64,7 @@ github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2y
6564
github.com/boumenot/gocover-cobertura v1.2.0 h1:g+VROIASoEHBrEilIyaCmgo7HGm+AV5yKEPLk0qIY+s=
6665
github.com/boumenot/gocover-cobertura v1.2.0/go.mod h1:fz7ly8dslE42VRR5ZWLt2OHGDHjkTiA2oNvKgJEjLT0=
6766
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
68-
github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
67+
github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
6968
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
7069
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
7170
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
@@ -76,7 +75,6 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR
7675
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
7776
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
7877
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
79-
github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I=
8078
github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs=
8179
github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
8280
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
@@ -646,6 +644,7 @@ golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWP
646644
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
647645
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
648646
golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
647+
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
649648
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
650649
golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
651650
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
@@ -747,7 +746,6 @@ golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBc
747746
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
748747
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
749748
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
750-
golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
751749
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
752750
golang.org/x/sys v0.0.0-20211102192858-4dd72447c267/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
753751
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
@@ -873,10 +871,10 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
873871
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
874872
gotest.tools/gotestsum v1.10.1 h1:TOV5xZVd5HDscBLSrPXpc4/MQm6QQr/YSI9iDC62d7E=
875873
gotest.tools/gotestsum v1.10.1/go.mod h1:6JHCiN6TEjA7Kaz23q1bH0e2Dc3YJjDUZ0DmctFZf+w=
874+
gotest.tools/v3 v3.3.0 h1:MfDY1b1/0xN1CyMlQDac0ziEy9zJQd9CXBRRDHw2jJo=
876875
gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A=
877-
gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o=
878-
helm.sh/helm/v3 v3.12.1 h1:lzU7etZX24A6BTMXYQF3bFq0ECfD8s+fKlNBBL8AbEc=
879-
helm.sh/helm/v3 v3.12.1/go.mod h1:qhmSY9kcX7yH1xebe+FDMZa7E5NAeZ+LvK5j1gSln48=
876+
helm.sh/helm/v3 v3.12.2 h1:kFyDBr/mgJUlyGzVTCieG4wW0zmo7fcNRWK0+FKkxqU=
877+
helm.sh/helm/v3 v3.12.2/go.mod h1:v1PMayudIfZAvec3Wp4wAErensvK/rv5fu/xCiE6t3I=
880878
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
881879
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
882880
honnef.co/go/tools v0.4.3 h1:o/n5/K5gXqk8Gozvs2cnL0F2S1/g1vcGCAx2vETjITw=

internal/export/dashboards.go

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import (
1010
"os"
1111
"path/filepath"
1212

13+
"github.com/Masterminds/semver/v3"
14+
1315
"github.com/elastic/elastic-package/internal/common"
1416
"github.com/elastic/elastic-package/internal/kibana"
1517
"github.com/elastic/elastic-package/internal/logger"
@@ -30,6 +32,14 @@ func Dashboards(kibanaClient *kibana.Client, dashboardsIDs []string) error {
3032
return fmt.Errorf("reading package manifest failed (path: %s): %w", packageRoot, err)
3133
}
3234

35+
versionInfo, err := kibanaClient.Version()
36+
if err != nil {
37+
return fmt.Errorf("getting Kibana version information: %w", err)
38+
}
39+
if err := checkKibanaVersion(versionInfo); err != nil {
40+
return fmt.Errorf("cannot import from this Kibana version: %w", err)
41+
}
42+
3343
objects, err := kibanaClient.Export(dashboardsIDs)
3444
if err != nil {
3545
return fmt.Errorf("exporting dashboards using Kibana client failed: %w", err)
@@ -51,6 +61,23 @@ func Dashboards(kibanaClient *kibana.Client, dashboardsIDs []string) error {
5161
return nil
5262
}
5363

64+
func checkKibanaVersion(info kibana.VersionInfo) error {
65+
version, err := semver.NewVersion(info.Number)
66+
if err != nil {
67+
return fmt.Errorf("cannot parse version %s: %w", info.Number, err)
68+
}
69+
70+
minVersion := semver.MustParse("8.8.0")
71+
maxVersion := semver.MustParse("8.10.0")
72+
if version.LessThan(maxVersion) && !version.LessThan(minVersion) {
73+
// See:
74+
// - https://github.com/elastic/elastic-package/issues/1354
75+
// - https://github.com/elastic/kibana/pull/161969
76+
return fmt.Errorf("packages with dashboards exported since Kibana %s may not be installed till %s, please export the dashboard/s from a different version", minVersion, maxVersion)
77+
}
78+
return nil
79+
}
80+
5481
func applyTransformations(ctx *transformationContext, objects []common.MapStr) ([]common.MapStr, error) {
5582
return newObjectTransformer().
5683
withContext(ctx).

tools/readme/readme.md.tmpl

Lines changed: 54 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,26 @@ elastic-package help
3838

3939
## Development
4040

41-
Download and build the latest main of `elastic-package` binary:
41+
Even though the project is "go-gettable", there is the [`Makefile`](./Makefile) present, which can be used to build,
42+
install, format the source code among others. Some examples of the available targets are:
43+
44+
`make build` - build the tool source
45+
46+
`make clean` - delete elastic-package binary and build folder
47+
48+
`make format` - format the Go code
49+
50+
`make check` - one-liner, used by CI to verify if source code is ready to be pushed to the repository
51+
52+
`make install` - build the tool source and move binary to `$GOBIN`
53+
54+
`make gomod` - ensure go.mod and go.sum are up to date
55+
56+
`make update` - update README.md file
57+
58+
`make licenser` - add the Elastic license header in the source code
59+
60+
To start developing, download and build the latest main of `elastic-package` binary:
4261

4362
```bash
4463
git clone https://github.com/elastic/elastic-package.git
@@ -61,6 +80,40 @@ git rm --cached -r .
6180
git reset --hard
6281
```
6382

83+
### Testing with integrations repository
84+
85+
While working on a new branch, it is interesting to test these changes
86+
with all the packages defined in the [integrations repository](https://github.com/elastic/integrations).
87+
This allows to test a much wider scenarios than the test packages that are defined in this repository.
88+
89+
This test can be triggered automatically directly from your Pull Request by adding a comment `test integrations`. Example:
90+
- Comment: https://github.com/elastic/elastic-package/pull/1335#issuecomment-1619721861
91+
- Pull Request created in integrations repository: https://github.com/elastic/integrations/pull/6756
92+
93+
This comment triggers this [Buildkite pipeline](https://github.com/elastic/elastic-package/blob/6f084e21561105ac9773acab00c3439251f111a0/.buildkite/pipeline.test-with-integrations-repo.yml) ([Buildkite job](https://buildkite.com/elastic/elastic-package-test-with-integrations)).
94+
95+
This pipeline creates a new draft Pull Request in integration updating the required dependencies to test your own changes. As a new pull request is created, a CI
96+
job will be triggered to test all the packages defined in this repository. A new comment with the link to this new Pull Request will be posted in your package-spec Pull Request.
97+
98+
**IMPORTANT**: Remember to close this PR in the integrations repository once you close the package-spec Pull Request.
99+
100+
Usually, this process would require the following manual steps:
101+
1. Create your elastic-package pull request and push all your commits
102+
2. Get the SHA of the latest changeset of your PR:
103+
```bash
104+
$ git show -s --pretty=format:%H
105+
1131866bcff98c29e2c84bcc1c772fff4307aaca
106+
```
107+
3. Go to the integrations repository, and update go.mod and go.sum with that changeset:
108+
```bash
109+
cd /path/to/integrations/repostiory
110+
go mod edit -replace github.com/elastic/elastic-package=github.com/<your_github_user>/elastic-package@1131866bcff98c29e2c84bcc1c772fff4307aaca
111+
go mod tidy
112+
```
113+
4. Push these changes into a branch and create a Pull Request
114+
- Creating this PR would automatically trigger a new Jenkins pipeline.
115+
116+
64117
## Commands
65118

66119
`elastic-package` currently offers the commands listed below.
@@ -112,21 +165,6 @@ The following settings are available per profile:
112165
Elasticsearch in stacks managed by elastic-package. It is recommended to use
113166
an absolute path, out of the `.elastic-package` directory.
114167

115-
## Development
116-
117-
Even though the project is "go-gettable", there is the `Makefile` present, which can be used to build, format or vendor
118-
source code:
119-
120-
`make build` - build the tool source
121-
122-
`make format` - format the Go code
123-
124-
`make install` - build the tool source and move binary to `$GOBIN`
125-
126-
`make vendor` - vendor code of dependencies
127-
128-
`make check` - one-liner, used by CI to verify if source code is ready to be pushed to the repository
129-
130168
## Release process
131169

132170
This project uses [GoReleaser](https://goreleaser.com/) to release a new version of the application (semver). Release publishing

0 commit comments

Comments
 (0)