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

Quick script to make version bumping easier #1532

Merged
merged 3 commits into from
Sep 20, 2018

Conversation

ddpbsd
Copy link
Member

@ddpbsd ddpbsd commented Sep 19, 2018

We seem to forget it a lot, so this should make it easier. Upate the README.md to use the full version so the script can update that as well.

Example:
/bin/sh contrib/version_bump.sh 3.0.0 3.0.1

It only really covers these files:

INSTALL
README.md
src/VERSION                     v3.0.0
src/init/ossec-client.sh        VERSION="v3.0.0"
src/init/ossec-local.sh
src/init/ossec-server.sh
src/win32/help.txt
src/win32/ossec-installer.nsi   !define VERSION "3.0.0"
src/headers/defs.h              #define __version       "v3.0.0"

And it's possible there are some important ones that are missed. If there are, we can upate the script or make those sources reference these other places.

@atomicturtle atomicturtle merged commit 40e04c8 into ossec:master Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants