mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 00:04:04 +01:00
Update version.h
This commit is contained in:
parent
1118c4b210
commit
8e5dbc563a
26
version.h
26
version.h
@ -1,21 +1,22 @@
|
||||
#ifndef _VGMSTREAM_H_
|
||||
#define _VGMSTREAM_H_
|
||||
#ifndef _VGMSTREAM_VERSION_H_
|
||||
#define _VGMSTREAM_VERSION_H_
|
||||
/* vgmstream version config (auto/static) */
|
||||
/* Current version is usually autogenerated from Git (passed via compiler args, or updated with scripts),
|
||||
* but this file also defines a static version for Git-less builds to be used by default. */
|
||||
|
||||
/* autogenerated version passed by param */
|
||||
//todo detect if VGMSTREAM_VERSION is "" (may happen on script error)
|
||||
#ifndef VGMSTREAM_VERSION
|
||||
/* autogenerated version on file */
|
||||
/* autogenerated version in another file */
|
||||
#ifdef VGMSTREAM_VERSION_AUTO
|
||||
#include "version_auto.h"
|
||||
#else
|
||||
/* Static/fallback version.
|
||||
* Version is autogenerated from Git (passed via compiler args, or updated with scripts), but this file is
|
||||
* for Git-less builds (not installed or downloaded master). Builds that don't do the above should still work
|
||||
* (compiling a well-behaved src shouldn't depend on calling arbitrary scripts). */
|
||||
/* static/fallback version */
|
||||
|
||||
/* Generating new releases:
|
||||
* - calculate new version
|
||||
* - check last release's latest PR
|
||||
* - count number or PRs (more or less) since then
|
||||
* - count number of PRs (more or less) since then
|
||||
* - add that count to current version (commit count not used since there are a lot and some are useless)
|
||||
* - update VGMSTREAM_VERSION "rNNNN" and commit
|
||||
* - may be done directly without PR
|
||||
@ -24,15 +25,18 @@
|
||||
* - compile and upload
|
||||
* - on github, after changing version:
|
||||
* - releases > "draft new release" button
|
||||
* - write text and select commit + tag
|
||||
* - copy text from prev release and select commit + tag
|
||||
* - tweak current PR
|
||||
* - copy "recent changes" from vgmstream-releases
|
||||
* - publish (even with no binaries)
|
||||
* - in "actions" tab, workflow should have added a new "rXXXX" compilation
|
||||
* - once done download all binaries there, edit release, upload, save
|
||||
* - if version commit was used correctly as release base, "git describe" and plugin
|
||||
* - if version commit was used as release base, "git describe" and plugin
|
||||
* versions should return "rNNNN" without extra text commit number text
|
||||
*/
|
||||
|
||||
#define VGMSTREAM_VERSION "r1879"
|
||||
#define VGMSTREAM_VERSION "r1896"
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user