mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 00:38:14 +01:00
Don't genrelease a timestamp for version 0.0.0
This commit is contained in:
1 parent
b70bb379d8
commit
b82a1992de
2 files changed
+8
-6
No files matched your search
@@ -204,6 +204,9 @@ func (h *genReleaseHelper) gen(w *bytes.Buffer, s []byte) error {
|
||||
if s[0] == '/' {
|
||||
switch {
|
||||
case bytes.Equal(s, grVOverride):
|
||||
if (h.version == cf.Version{}) {
|
||||
break
|
||||
}
|
||||
var err error
|
||||
remaining, err = h.genWuffsVersion(w, remaining)
|
||||
if err != nil {
|
||||
|
||||
@@ -65,12 +65,11 @@ extern "C" {
|
||||
// work-in-progress version, not a release version, and has no backwards or
|
||||
// forwards compatibility guarantees.
|
||||
//
|
||||
// WUFFS_VERSION was overridden by "wuffs genrelease" on 2018-07-11 UTC,
|
||||
// based on revision 85c4de47b990def743d8e94883733914b40ee523.
|
||||
#define WUFFS_VERSION ((uint64_t)0x0000000000000000)
|
||||
#define WUFFS_VERSION_MAJOR ((uint64_t)0x00000000)
|
||||
#define WUFFS_VERSION_MINOR ((uint64_t)0x0000)
|
||||
#define WUFFS_VERSION_PATCH ((uint64_t)0x0000)
|
||||
// !! Some code generation programs can override WUFFS_VERSION.
|
||||
#define WUFFS_VERSION ((uint64_t)0)
|
||||
#define WUFFS_VERSION_MAJOR ((uint64_t)0)
|
||||
#define WUFFS_VERSION_MINOR ((uint64_t)0)
|
||||
#define WUFFS_VERSION_PATCH ((uint64_t)0)
|
||||
#define WUFFS_VERSION_EXTENSION ""
|
||||
#define WUFFS_VERSION_STRING "0.0.0"
|
||||
|
||||
|
||||
Reference in new issue
Block a user