Skip to content

Synchronize main project (Closing Milestone v14.0.2)#17

Closed
yjf2002ghty wants to merge 5 commits intofairy-stockfish:nnuefrom
yjf2002ghty:nnue
Closed

Synchronize main project (Closing Milestone v14.0.2)#17
yjf2002ghty wants to merge 5 commits intofairy-stockfish:nnuefrom
yjf2002ghty:nnue

Conversation

@yjf2002ghty
Copy link
Copy Markdown

@yjf2002ghty yjf2002ghty commented May 9, 2024

This pull request merges recent changes like fairy-stockfish/Fairy-Stockfish#780 and fairy-stockfish/Fairy-Stockfish#792 . If there are any changes, you can apply the changes based on this pull request which can save time.

Note that I removed the "Publish to NPM" step in the CI as I'm not the publisher. Adding back it is needed before or after merging.

      - name: Publish to NPM
        if: startsWith(github.ref, 'refs/tags/')
        working-directory: src/emscripten/public
        run: |
          npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
          npm publish
        env:
          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

I've tested it in the CI and it passed.
image

@ianfab
Copy link
Copy Markdown
Member

ianfab commented Jun 1, 2024

Thanks. However, for the dependent projects like wasm and NNUE data generator I prefer to directly merge from the upstream project to keep the history clean, otherwise this might create future merge conflicts.

With respect to the CI, my assumption is that there would be no need to remove the publish step, since this is only triggered by tag creation, so nobody without the required write access can do it by accident.

@ianfab ianfab closed this Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants