diff --git a/.github/workflows/publish-next.yaml b/.github/workflows/publish-next.yaml index 1502eb6..b5439df 100644 --- a/.github/workflows/publish-next.yaml +++ b/.github/workflows/publish-next.yaml @@ -16,12 +16,12 @@ jobs: - name: fill package name run: | if [[ $TAG_NAME =~ ^eastern-arabic\/v.* ]]; then - PACKAGE_NAME="@numerals/eastern-arabic" + PACKAGE_NAME="eastern-arabic" else echo "❌ tag name: $TAG_NAME doesn't point to any publishable package" exit 1 fi - echo "📦 Package name: $PACKAGE_NAME" + echo "📦 Package name: @numerals/$PACKAGE_NAME" echo "PACKAGE_NAME=$PACKAGE_NAME" >> $GITHUB_ENV - uses: actions/checkout@v4 @@ -72,7 +72,7 @@ jobs: - run: yarn test - name: publish @numerals/eastern-arabic @next to npm - if: ${{ env.PACKAGE_NAME == '@numerals/eastern-arabic' }} + if: ${{ env.PACKAGE_NAME == 'eastern-arabic' }} run: yarn workspace eastern-arabic npm publish --access public --tag next env: NODE_AUTH_TOKEN: ${{ secrets.EASTERN_ARABIC_PUBLISH_AUTH_TOKEN }} diff --git a/packages/eastern-arabic/package.json b/packages/eastern-arabic/package.json index 222b2ff..d809fe9 100644 --- a/packages/eastern-arabic/package.json +++ b/packages/eastern-arabic/package.json @@ -1,6 +1,6 @@ { "name": "@numerals/eastern-arabic", - "version": "0.0.1-next.0", + "version": "0.0.1-next.1", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "files": [