Skip to content

Commit

Permalink
Add version.h and update versioning documentation for embedded platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
lum1n0us committed Jan 17, 2025
1 parent d8e354f commit 382f39e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
24 changes: 24 additions & 0 deletions core/version.h
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions core/version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* Please do not edit both files directly.
*
* Any changes to the version should be done in the version.cmake file.
*
* Continue to maintain the version.h for certain embedded platforms.
*/

#ifndef _WAMR_VERSION_H_
Expand Down
7 changes: 6 additions & 1 deletion doc/stability_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ Once a release decision has been made:

- Create a PR that:
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.
- Initiate the release process by triggering *the binary release processes* in *Actions*.

0 comments on commit 382f39e

Please sign in to comment.