Skip to content

Commit

Permalink
Container release v1.3.0 (#3876)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDoberer authored Aug 27, 2024
1 parent 3490ba3 commit c19b345
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
12 changes: 11 additions & 1 deletion container/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
<!--Generate the changelog using release cli. -->



## [v1.3.0] (2024-08-27)

#### :rocket: Added

* [#3831](https://github.com/SAP/luigi/pull/3831) Improves context updating method ([@walmazacn](https://github.com/walmazacn))



## [v1.2.0] (2024-07-25)

* [#3797](https://github.com/SAP/luigi/pull/3797) Adds navigateToIntent to wc client api ([@walmazacn](https://github.com/walmazacn))
Expand All @@ -26,4 +35,5 @@


[v1.1.0]: https://github.com/SAP/luigi/compare/container/v1.0.0...container/v1.1.0
[v1.2.0]: https://github.com/SAP/luigi/compare/container/v1.1.0...container/v1.2.0
[v1.2.0]: https://github.com/SAP/luigi/compare/container/v1.1.0...container/v1.2.0
[v1.3.0]: https://github.com/SAP/luigi/compare/container/v1.2.0...container/v1.3.0
2 changes: 1 addition & 1 deletion container/public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"micro-frontends",
"microfrontends"
],
"version": "1.2.0"
"version": "1.3.0"
}
8 changes: 6 additions & 2 deletions container/release-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function updateVersionInPgkJson(version) {
*/
function formatPullRequests(pullRequests) {
return pullRequests
.map(pr => `- [#${pr.number}](${pr.html_url}) ${pr.title} ([@${pr.user.login}](${pr.user.html_url}))`)
.map(pr => `* [#${pr.number}](${pr.html_url}) ${pr.title} ([@${pr.user.login}](${pr.user.html_url}))`)
.join('\n');
}

Expand Down Expand Up @@ -157,7 +157,11 @@ async function prepareRelease() {

//Add compare link to the end of the file
const lastline = `\n[v${version}]: https://github.com/SAP/luigi/compare/${lastContainerRelease.tag_name}...container/v${version}`;
fs.appendFile(changelogPath, lastline, 'utf8', err => {

//read file before append last line to file, otherwise it will not be written
fs.readFileSync(changelogPath, 'utf8');
fs.appendFileSync(changelogPath, lastline, 'utf8', err => {
console.log('Append lastline to Changelog', lastline);
if (err) {
logError('Cannot write compare link to the last line:', err);
return;
Expand Down

0 comments on commit c19b345

Please sign in to comment.