Repository navigation
feat: expose version object in releases - #4962
Conversation
|
Before we merge this, I need to talk to @vikerman about how this version gets updated for Angular when doing the sync into Google. |
3bd323e to
c6fbbf7
Compare
|
Rebased. |
c6fbbf7 to
2dd6b6c
Compare
|
I love this PR. Need this in Flex-Layout! |
2dd6b6c to
ba68848
Compare
99112f9 to
8d6bc8c
Compare
8d6bc8c to
2e71249
Compare
|
@jelbourn Any updates on this one? |
|
Every time I remember it @vikerman is away from his desk. |
|
Finally followed up on this- no action needed on your part. Will be good to merge after my cdk entry-points PR (version will be the only thing under |
2e71249 to
9d840c3
Compare
|
@jelbourn Rebased. Please have another look. |
| @@ -0,0 +1,32 @@ | |||
| import {readFileSync, writeFileSync} from 'fs'; | |||
There was a problem hiding this comment.
Why does this code exist twice?
There was a problem hiding this comment.
Good question. Looks like the old one before the build changes is still there after rebasing.
* In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler.
9d840c3 to
bb043ce
Compare
|
|
||
| fileContent = fileContent.replace(versionPlaceholderRegex, buildConfig.projectVersion); | ||
|
|
||
| writeFileSync(filePath, fileContent); |
There was a problem hiding this comment.
Does this writeFileSync need 'utf-8'?
There was a problem hiding this comment.
writeFileSync always defaults to UTF-8 as encoding (reference)
* In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler. Add accessibility demo page for grid list .
* In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler. Add accessibility demo page for grid list .
* In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler. Add accessibility demo page for grid list .
* In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler. Add accessibility demo page for grid list .
* In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler. Add accessibility demo page for grid list .
* In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler. Add accessibility demo page for grid list .
* real world example * remove roles * feat: expose version object in releases (#4962) * In releases there will be a constant called `VERSION` that holds the current version of the installed package (material or cdk) * This is similar as for every @angular package like core, forms, compiler. Add accessibility demo page for grid list . * change header and add roles
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
VERSIONthat holds the current version of the installed package (material or cdk)