Browse Source

Several fixes related to the existing release tooling. No changes otherwise.

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
master
Erik Hollensbe 3 months ago
parent
commit
e040387683
2 changed files with 6 additions and 8 deletions
  1. +6
    -3
      Makefile
  2. +0
    -5
      proto/control.pb.go

+ 6
- 3
Makefile View File

@ -15,13 +15,16 @@ DOCKER_CMD := docker run -it \
-v ${PWD}:$(CODE_PATH) \
$(IMAGE_NAME)
release: distclean generate-check
mkcache:
mkdir -p .go-cache
release: distclean generate-check mkcache
GOBIN=${PWD}/build/ldnsd-$$(cat VERSION) VERSION=$$(cat VERSION) make lint install
# FIXME include LICENSE.md
cp README.md example.conf build/ldnsd-$$(cat VERSION)
cd build && tar cvzf ../ldnsd-$$(cat ../VERSION).tar.gz ldnsd-$$(cat ../VERSION)
release-image:
release-image: mkcache
VERSION=$$(cat VERSION) box -t $(RELEASE_IMAGE_NAME) box-release.rb
distclean:
@ -36,7 +39,7 @@ shell: build
mkdir -p .go-cache
$(DOCKER_CMD)
build: get-box
build: get-box mkcache
box -t $(IMAGE_NAME) box.rb
docker-check:


+ 0
- 5
proto/control.pb.go View File

@ -8,7 +8,6 @@ package proto
import (
context "context"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
@ -26,10 +25,6 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type Records struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache


Loading…
Cancel
Save