File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 - name : Build package
9090 run : npm run build
9191
92- - name : Fix npm dist-tag (if needed)
93- if : matrix.package == 'emmett-event-store-kysely'
94- env :
95- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
96- run : |
97- CURRENT_LATEST=$(npm dist-tag ls @wataruoguchi/emmett-event-store-kysely 2>/dev/null | grep "latest:" | awk '{print $2}' || echo "1.0.2")
98- if [ "$CURRENT_LATEST" != "2.1.0" ] && npm view @wataruoguchi/emmett-event-store-kysely@2.1.0 version > /dev/null 2>&1; then
99- echo "Fixing dist-tag from $CURRENT_LATEST to 2.1.0"
100- npm dist-tag add @wataruoguchi/emmett-event-store-kysely@2.1.0 latest
101- else
102- echo "Dist-tag is already correct or version 2.1.0 not found"
103- fi
104-
10592 - name : Release
10693 env :
10794 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments