Fix/snap build (#4125)

* snap/snapcraft.yaml: bump go-channel to latest 1.20/stable

* snap/local/Makefile: fixed typo in output snap file
This commit is contained in:
Denys Holius 2023-04-12 19:50:56 +03:00 committed by GitHub
parent b9ab07ced9
commit 51466ce379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1 @@
dengolius@ryzen.36379

View file

@ -18,7 +18,7 @@ build-snap: snap-builder-image
-w /builder \
--env PKG_TAG=$(SNAP_TAG) \
$(SNAP_BUILDER_IMAGE) \
bash -c 'snapcraft clean && snapcraft snap -o bin/'
bash -c 'snapcraft clean && snapcraft snap -o "bin/victoriametrics_$(SNAP_TAG)_multi.snap"'
release-snap: snap-builder-image build-snap
docker run --rm \

View file

@ -51,7 +51,7 @@ confinement: strict # use 'strict' once you have the right plugs and slots
parts:
build:
plugin: go
go-channel: 1.17/stable
go-channel: 1.20/stable
go-importpath: github.com/VictoriaMetrics/VictoriaMetrics
source: .
source-type: local