Skip to content

Commit

Permalink
chore(release): 0.2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurice Faber committed Oct 22, 2021
1 parent 4ba8ded commit 0dd39b5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@
"mochaExplorer.timeout": 20000,
"prettier.enable": true,
"standard.enable": false,
"typescript.autoClosingTags": false
"typescript.autoClosingTags": false,
"[dotenv]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
}
}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.2.15](https://github.com/redkubes/otomi-tasks/compare/v0.2.14...v0.2.15) (2021-10-22)


### Bug Fixes

* disabled startup warnings [ci skip] ([dee3db8](https://github.com/redkubes/otomi-tasks/commit/dee3db8fe363327f66e97e2095c38e457b778243))
* disabled startup warnings, wait not needed for isDev [ci skip] ([d137cb9](https://github.com/redkubes/otomi-tasks/commit/d137cb908e7e1d60a56444ed02de2f4c97ec4544))
* husky [ci skip] ([4ba8ded](https://github.com/redkubes/otomi-tasks/commit/4ba8dede4b855d7ad3431c99048502c3fae1d364))
* role name for otomi-admin is admin ([ffd7f63](https://github.com/redkubes/otomi-tasks/commit/ffd7f63fb4a1bdedeb4e79d8b6588f81a2ca32ce))

### [0.2.14](https://github.com/redkubes/otomi-tasks/compare/v0.2.13...v0.2.14) (2021-10-14)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@
"tag": true
}
},
"version": "0.2.14"
"version": "0.2.15"
}
4 changes: 3 additions & 1 deletion src/tasks/keycloak/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ async function main(): Promise<void> {
if (!existingRoleMapping) {
// set realm roles
const roles: Array<RoleRepresentation> = []
const existingRole = updatedExistingRealmRoles.find((el) => el.name === groupName) as RoleRepresentation
const existingRole = updatedExistingRealmRoles.find(
(el) => el.name === (groupName === 'otomi-admin' ? 'admin' : groupName),
) as RoleRepresentation
roles.push(existingRole)
await doApiCall(errors, `Creating role mapping for group ${groupName}`, async () =>
api.roleMapper.realmGroupsIdRoleMappingsRealmPost(keyCloakRealm, group.id!, roles),
Expand Down

0 comments on commit 0dd39b5

Please sign in to comment.