2021-08-10 23:51:48 +02:00
|
|
|
#ifndef _VGMSTREAM_H_
|
|
|
|
#define _VGMSTREAM_H_
|
|
|
|
/* autogenerated version passed by param */
|
|
|
|
//todo detect if VGMSTREAM_VERSION is "" (may happen on script error)
|
|
|
|
#ifndef VGMSTREAM_VERSION
|
|
|
|
/* autogenerated version on file */
|
|
|
|
#ifdef VGMSTREAM_VERSION_AUTO
|
|
|
|
#include "version_auto.h"
|
|
|
|
#else
|
2021-08-07 20:41:50 +02:00
|
|
|
/* Static/fallback version.
|
|
|
|
* Version is autogenerated from Git (passed via compiler args, or updated with scripts), but this file is
|
2021-08-15 19:58:17 +02:00
|
|
|
* for Git-less builds (not installed or downloaded master). Builds that don't do the above should still work
|
2021-08-10 23:51:48 +02:00
|
|
|
* (compiling a well-behaved src shouldn't depend on calling arbitrary scripts). */
|
2022-08-21 13:44:02 +02:00
|
|
|
|
|
|
|
/* Generating new releases:
|
|
|
|
* - calculate new version
|
|
|
|
* - check last release's latest PR
|
|
|
|
* - count number or 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
|
|
|
|
* - create a new release/tag (same name as version, rNNNN), with that commit as a base
|
|
|
|
* - use latest if version change commit was without PR
|
|
|
|
* - compile and upload
|
|
|
|
* - on github, after changing version:
|
|
|
|
* - releases > "draft new release" button
|
|
|
|
* - write text and select commit + tag
|
|
|
|
* - 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
|
|
|
|
* versions should return "rNNNN" without extra text commit number text
|
|
|
|
*/
|
|
|
|
|
2023-01-10 22:23:35 +01:00
|
|
|
#define VGMSTREAM_VERSION "r1810"
|
2021-08-10 23:51:48 +02:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|