Skip to content

Commit

Permalink
Document version and revision (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott authored Jan 22, 2024
1 parent 3f6c9a9 commit 7afc33a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@
export * from './binding';
export * from './components';

// these strings are set by the build script
/**
* The version of the PCUI library. This is a string in semantic version format of `major.minor.patch`.
*/
const version = 'PACKAGE_VERSION';

/**
* The git revision of the PCUI library. This is a string of the git commit hash.
*/
const revision = 'PACKAGE_REVISION';

export { version };
Expand Down

0 comments on commit 7afc33a

Please sign in to comment.