Skip to content
Snippets Groups Projects
Commit 7334399b authored by Xiao Gui's avatar Xiao Gui
Browse files

fix: code meta release notes

fix: release ci
fix: lint
parent 42fcf07e
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: staging
sparse-checkout: |
package.json
- uses: actions/checkout@v4
with:
path: master
sparse-checkout: |
package.json
- run: |
MASTER_VERSION=$(git show origin/master:package.json | jq -r '.version')
THIS_VERSION=$(jq -r '.version' < package.json)
test "$MASTER_VERSION" == "$THIS_VERSION" && exit 1
MASTER_VERSION=$(jq -r '.version' master/package.json)
THIS_VERSION=$(jq -r '.version' staging/package.json)
if [[ "$MASTER_VERSION" == "$THIS_VERSION" ]]
then
exit 1
fi
check_release:
if: always()
......@@ -22,7 +34,10 @@ jobs:
- uses: actions/checkout@v4
- run: |
VERSION_NUM=$(jq -r '.version' < package.json)
test -f docs/releases/v$VERSION_NUM.md || exit 1
if [[ ! -f docs/releases/v$VERSION_NUM.md ]]
then
exit 1
fi
release_linked_mkdocs:
if: always()
......@@ -35,7 +50,11 @@ jobs:
cat mkdocs.yml
GREP_VERSION_NUM=$(cat mkdocs.yml | grep $VERSION_NUM)
echo GREP_VERSION_NUM: $GREP_VERSION_NUM
test -z "$GREP_VERSION_NUM" && exit 1
if [[ -z "$GREP_VERSION_NUM" ]]
then
exit 1
fi
check_code_meta:
if: always()
......@@ -50,4 +69,4 @@ jobs:
RELEASE_NOTES=$(< docs/releases/v${VERSION_NUM}.md)
CODEMETA_RELEASE_NOTES=$(jq -r '.["schema:releaseNotes"]' codemeta.json)
test "$RELEASE_NOTES" == "$CODEMETA_RELEASE_NOTES" || exit 1
test "$RELEASE_NOTES" == "$CODEMETA_RELEASE_NOTES" && echo "Release notes matches" || exit 1
......@@ -46,7 +46,7 @@
"python 3",
"typescript"
],
"schema:releaseNotes": "# v2.14.10\n\n## Bugfix\n\n- Fix deployment scripts\n- Fix region update to updated siibra-api endpoint\n\n## Behind the scenes\n\n- Re-enable siibra-api warning mismatch warning\n- Adapt to siibra-api v0.3.18 point assignment rhetoric\n- Enable cheat code, removing obsolete experimental flags\n",
"schema:releaseNotes": "# v2.14.10\n\n## Bugfix\n\n- Fix deployment scripts\n- Fix region update to updated siibra-api endpoint\n\n## Behind the scenes\n\n- Re-enable siibra-api warning mismatch warning\n- Adapt to siibra-api v0.3.18 point assignment rhetoric\n- Enable cheat code, removing obsolete experimental flags\n- If `HOST_PATHNAME` env is provided, also listens on root path\n- Added servicemeta endpoint\n\n## Known regressions\n\n- Labelled assignment now takes a little longer. Additionally, the assigned value does not match that of the index label. This will be addressed in a future update. (The temporary regression allows for significant performant statistical assignment, as well more accurate label assignment.)\n",
"runtimePlatform": "docker",
"version": "2.14.10",
"contIntegration": "https://github.com/FZJ-INM1-BDA/siibra-explorer/actions",
......
import { Component, Input, OnDestroy, Output, TemplateRef, EventEmitter } from '@angular/core';
import { Clipboard, MatDialog, MatDialogRef, MatSnackBar } from 'src/sharedModules/angularMaterial.exports';
import { BehaviorSubject, EMPTY, Observable, Subscription, combineLatest, concat, of } from 'rxjs';
import { catchError, filter, map, shareReplay, switchMap, take, tap } from 'rxjs/operators';
import { catchError, filter, map, shareReplay, switchMap, tap } from 'rxjs/operators';
import { SAPI, EXPECTED_SIIBRA_API_VERSION } from 'src/atlasComponents/sapi/sapi.service';
import { SxplrParcellation, SxplrTemplate } from 'src/atlasComponents/sapi/sxplrTypes';
import { translateRegionName } from 'src/atlasComponents/sapi/translateV3';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment