Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide and parse FALCO_VERSION_PRERELEASE part #1086

Merged
merged 4 commits into from
Mar 10, 2020

Conversation

leodido
Copy link
Member

@leodido leodido commented Mar 10, 2020

What type of PR is this?

/kind bug

/kind feature

Any specific area of the project related to this PR?

/area build

What this PR does / why we need it:

It makes the build generate the FALCO_VERSION_PRERELEASE variable, too.
It contains the count of the commits from the last tag on the master.

So versions, from now one will be something like 0.20.0-48+86e6fe3, where 48 is the number of commits from release 0.20.0.

This also affects the Falco gRPC Version API, which will also return this new part of the version.

Moreover, having the prerelease version part that will automatically increment as soon we merge a new PR into the master, will fix the ordering of versions we currently have when installing Falco with apt or yum or rpm.

Which issue(s) this PR fixes:

Fixes #1087

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

new: FALCO_VERSION_PRERELEASE contains the number of commits since last tag on the master

leodido and others added 2 commits March 10, 2020 16:20
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
fntlnz
fntlnz previously approved these changes Mar 10, 2020
@poiana
Copy link
Contributor

poiana commented Mar 10, 2020

LGTM label has been added.

Git tree hash: 06a0a1119c48f24392d4f0f787eba81096e797e3

@fntlnz
Copy link
Contributor

fntlnz commented Mar 10, 2020

/milestone 0.21.0

@poiana poiana added this to the 0.21.0 milestone Mar 10, 2020
@mstemm mstemm self-requested a review March 10, 2020 16:59
mstemm
mstemm previously approved these changes Mar 10, 2020
@fntlnz
Copy link
Contributor

fntlnz commented Mar 10, 2020

/hold

…a docker build argument

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@leodido leodido dismissed stale reviews from mstemm and fntlnz via 97cf93c March 10, 2020 17:36
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@leodido
Copy link
Member Author

leodido commented Mar 10, 2020

/hold cancel

@poiana poiana added the lgtm label Mar 10, 2020
@poiana
Copy link
Contributor

poiana commented Mar 10, 2020

LGTM label has been added.

Git tree hash: 14df8aeecb5be847e7bcfcb409f78109f60497ce

@poiana
Copy link
Contributor

poiana commented Mar 10, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fntlnz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 788d329 into master Mar 10, 2020
@poiana poiana deleted the feature/version-prerelease branch March 10, 2020 19:46
@leodido
Copy link
Member Author

leodido commented Mar 10, 2020

/milestone 0.21.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong Falco latest package when installing from deb-dev or rpm-dev
4 participants