mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
Add version.h and update versioning documentation for embedded platforms
This commit is contained in:
parent
4f7c5af046
commit
10f12c030f
24
core/version.h
Normal file
24
core/version.h
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||||
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* version.h.in is a template file. version.h is a generated file.
|
||||||
|
* Please do not edit both files directly.
|
||||||
|
*
|
||||||
|
* Any changes to the version should be done in build-scripts/version.cmake.
|
||||||
|
*
|
||||||
|
* Continue to maintain the version.h for certain embedded platforms.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _WAMR_VERSION_H_
|
||||||
|
#define _WAMR_VERSION_H_
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
|
#define WAMR_VERSION_MAJOR 2
|
||||||
|
#define WAMR_VERSION_MINOR 2
|
||||||
|
#define WAMR_VERSION_PATCH 0
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
|
#endif
|
|
@ -7,7 +7,9 @@
|
||||||
* version.h.in is a template file. version.h is a generated file.
|
* version.h.in is a template file. version.h is a generated file.
|
||||||
* Please do not edit both files directly.
|
* Please do not edit both files directly.
|
||||||
*
|
*
|
||||||
* Any changes to the version should be done in the version.cmake file.
|
* Any changes to the version should be done in build-scripts/version.cmake.
|
||||||
|
*
|
||||||
|
* Continue to maintain the version.h for certain embedded platforms.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _WAMR_VERSION_H_
|
#ifndef _WAMR_VERSION_H_
|
||||||
|
|
|
@ -23,6 +23,11 @@ Once a release decision has been made:
|
||||||
|
|
||||||
- Create a PR that:
|
- Create a PR that:
|
||||||
1. Modifies *build-scripts/version.cmake*.
|
1. Modifies *build-scripts/version.cmake*.
|
||||||
2. Updates *RELEASE.md*.
|
2. Executes cmake configuration to update the version.
|
||||||
|
3. Updates *RELEASE_NOTES.md*.
|
||||||
|
- A checklist of the PR includes
|
||||||
|
- [ ] *build-scripts/version.cmake*
|
||||||
|
- [ ] *core/version.h*
|
||||||
|
- [ ] *RELEASE_NOTES.md*
|
||||||
- Once the PR is merged, create a new tag.
|
- Once the PR is merged, create a new tag.
|
||||||
- Initiate the release process by triggering *the binary release processes* in *Actions*.
|
- Initiate the release process by triggering *the binary release processes* in *Actions*.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user