github.com/decred/dcrlnd@v0.7.6/make/release_flags.mk (about)

     1  VERSION_TAG = $(shell date +%Y%m%d)-01
     2  VERSION_CHECK = @$(call print, "Building master with date version tag")
     3  
     4  BUILD_SYSTEM = darwin-amd64 \
     5  darwin-arm64 \
     6  dragonfly-amd64 \
     7  freebsd-386 \
     8  freebsd-amd64 \
     9  freebsd-arm \
    10  illumos-amd64 \
    11  linux-386 \
    12  linux-amd64 \
    13  linux-armv6 \
    14  linux-armv7 \
    15  linux-arm64 \
    16  linux-ppc64 \
    17  linux-ppc64le \
    18  linux-mips \
    19  linux-mipsle \
    20  linux-mips64 \
    21  linux-s390x \
    22  netbsd-386 \
    23  netbsd-amd64 \
    24  netbsd-arm64 \
    25  openbsd-386 \
    26  openbsd-amd64 \
    27  windows-386 \
    28  windows-amd64 \
    29  windows-arm
    30  
    31  RELEASE_TAGS = 
    32  
    33  # One can either specify a git tag as the version suffix or one is generated
    34  # from the current date.
    35  ifneq ($(tag),)
    36  VERSION_TAG = $(tag)
    37  VERSION_CHECK = ./scripts/release.sh check-tag "$(VERSION_TAG)"
    38  endif
    39  
    40  # By default we will build all systems. But with the 'sys' tag, a specific
    41  # system can be specified. This is useful to release for a subset of
    42  # systems/architectures.
    43  ifneq ($(sys),)
    44  BUILD_SYSTEM = $(sys)
    45  endif
    46  
    47  # Use all build tags by default but allow them to be overwritten.
    48  ifneq ($(tags),)
    49  RELEASE_TAGS = $(tags)
    50  endif