Skip to content

Updating the Version Data

Benjamen Meyer edited this page Apr 19, 2020 · 1 revision

Updating the Version

When changing the VegaStrike version there are a few places that need to get updated.

Finding places to update

The following can be done to locate the places to change the information:

$ grep "<major>\.<minor>\.<patch>" * -Rni

Where <major>, <minor>, and <patch> are the version components, e.g "0.5.3" becomes "0.5.3".

Updating

Update the following files: - doc/man/vegastrike.1 - engine/vegastrike.spec - engine/setup/src/include/display.h - sh/vsinstall.sh

Note

We probably should update this with a nice Awk or Sed command to do the find/replace in a single command.