File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 - name : Publish to NPM
5555 env :
5656 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
57- run : npm --workspace packages/diracx-web-components publish
57+ run : |
58+ TAG_NAME="${{ needs.release-please.outputs.tag_name }}"
59+ if [[ "$TAG_NAME" == *-* ]]; then
60+ npm --workspace packages/diracx-web-components publish --tag latest
61+ else
62+ npm --workspace packages/diracx-web-components publish
63+ fi
5864
5965 # Storybook is built and deployed to GitHub Pages
6066 # -----------------------------------------------
@@ -196,10 +202,17 @@ jobs:
196202 cd diracx-charts
197203 pre-commit run --all-files || true
198204
205+ - name : Install pixi
206+ uses : prefix-dev/setup-pixi@v0.8.1
207+
199208 - name : Commit and push changes
200209 if : success()
201210 run : |
202211 cd diracx-charts
212+
213+ # Update the diagram to reflect the updated version number
214+ pixi run generate-diagram
215+
203216 git add -A
204217
205218 if ! git diff --cached --quiet; then
You can’t perform that action at this time.
0 commit comments