Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Sorry for the late reply. So basically, you've stumbled upon some accidental / undocumented functionality, but I think the use case is interesting. You basically want to explicitly inherit workspace metadata as the project metadata. so those PROJCT_* macros will be the same as the WORKSPACE_* counterparts.

Okay, so two things here:

  1. name has validation for basic characters and spaces that stop you from using ${meta:workspaceName}
  2. version has validation to only expect a semantic version (ex: 1.1.1)

version is a little more tricky, because it's parsed later on into separate macros: - *_VER_MAJOR, *_VER_MINOR, *_VER_PATCH. I just have to disable the validation upfront, and validate the valu…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rewrking
Comment options

Answer selected by paulross80
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants