Closed chrisplo closed 6 years ago
some testing results:
make release:
----
Version: 1.0.0-beta
GitCommit: 0e9fdd7-unsupported
BuildTime: 10-31-2017.23-14-26.UTC
netplugin-1.0.0-beta.tar.bz2
make tar
----
Version: 1.1.0-rc.1-207-g0e9fdd7c-unsupported
GitCommit: 0e9fdd7-unsupported
BuildTime: 10-31-2017.23-22-49.UTC
netplugin-1.1.0-rc.1-207-g0e9fdd7c-unsupported.tar.bz2
BUILD_VERSION=1.2.3 make tar
---------------------------
Version: 1.2.3
GitCommit: 0e9fdd7-unsupported
BuildTime: 10-31-2017.23-50-36.UTC
./netplugin-1.2.3.tar.bz2
make compile (on VM)
--------
[vagrant@netplugin-node1 netplugin]$ bin/netplugin --version
Version: 1.1.0-rc.1-207-g0e9fdd7-unsupported
GitCommit: 0e9fdd7-unsupported
BuildTime: 10-31-2017.23-41-11.UTC
build PR
@chrisplo: Can you remove the version file if it's not needed any more?
@unclejack the change is such that the file is no longer ~generated~ needed (it was never checked in, it was generated), for some reason i thought contiv-install read this in but looks like it was only netplugin, will remove
I rebased on master to pick up the objdb fix instead of having it as a commit in this PR
build PR
you might need to shfmt
because i can't tell if it's tab or space in the script
rechecked tar,release,BUILD_VERSION
build PR
latest run of release:
Version: 1.0.0-beta
GitCommit: 9dac643-unsupported
BuildTime: 11-02-2017.17-35-33.UTC
creates netplugin-1.0.0-beta.tar.bz2
build PR
Git version to be calculated by 'git describe --tags --always' and add '-unsupported' when the local workspace has an uncommitted change.
the rules are:
<tag>-<num commits since>-g<commit id>
release target will use CURRENT_VERSION to make it simple to set in the release branch
Signed-off-by: Chris Plock chrisplo@cisco.com