File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -384,24 +384,10 @@ archive:
384384 -C ../scripts contrib/completion/bash/netctl get-contiv-diags
385385
386386# build versioned archive of netplugin binaries
387- tar : compile-with-docker binaries-from-container archive
388-
389- clean-tar :
390- @rm -f $(TAR_LOC ) /* .$(TAR_EXT )
391- @rm -f install/v2plugin/v2plugin-* .tar.gz
392-
393- # do not run directly, use "release" target
394- release-built-version : tar
395- TAR_FILENAME=$(TAR_FILENAME ) TAR_FILE=$(TAR_FILE ) OLD_VERSION=${OLD_VERSION} \
396- NIGHTLY_RELEASE=${NIGHTLY_RELEASE} scripts/release.sh
397- @make clean-tar
398-
399- # The first "release" below is not a target, it is a "target-specific variable"
400- # and sets (and in this case exports) a variable to the target's environment
401- # The second release runs make as a subshell but with BUILD_VERSION set
402- # to write the correct version for assets everywhere
403- #
387+ tar :
388+ rm -f $(TAR_FILE )
389+ $(TAR ) -jcf $(TAR_FILE ) -C install/k8s/contiv/ .
390+
404391# GITHUB_USER and GITHUB_TOKEN are needed be set (used by github-release)
405- release : export BUILD_VERSION=$(shell cat version/CURRENT_VERSION)
406- release :
407- @make release-built-version
392+ release : tar
393+ TAR_FILENAME=$(TAR_FILENAME ) TAR_FILE=$(TAR_FILE ) scripts/release.sh
You can’t perform that action at this time.
0 commit comments