diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 84ffa8e..670b242 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -443,51 +443,4 @@ jobs: with: name: bindings-universal-apple-darwin path: ${{ env.APP_NAME }}.*.node - if-no-files-found: error - # publish: - # name: Publish - # runs-on: ubuntu-latest - # needs: - # - build-freebsd - # - test-macOS-windows-binding - # - test-linux-x64-gnu-binding - # - test-linux-x64-musl-binding - # - test-linux-aarch64-gnu-binding - # - test-linux-aarch64-musl-binding - # - test-linux-arm-gnueabihf-binding - # - universal-macOS - # steps: - # - uses: actions/checkout@v3 - # - name: Setup node - # uses: actions/setup-node@v3 - # with: - # node-version: 18 - # check-latest: true - # cache: yarn - # - name: Install dependencies - # run: yarn install - # - name: Download all artifacts - # uses: actions/download-artifact@v3 - # with: - # path: artifacts - # - name: Move artifacts - # run: yarn artifacts - # - name: List packages - # run: ls -R ./npm - # shell: bash - # - name: Publish - # run: | - # if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$"; - # then - # echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - # npm publish --access public - # elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+"; - # then - # echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - # npm publish --tag next --access public - # else - # echo "Not a release, skipping publish" - # fi - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + if-no-files-found: error \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7836c0f..0668e8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,6 @@ name: Release on: push: branches: - - ci/use-semantic-release - master - next - "*.x" diff --git a/.releaserc b/.releaserc index 74a19f8..cf17e08 100644 --- a/.releaserc +++ b/.releaserc @@ -43,5 +43,5 @@ "@semantic-release/npm", "@semantic-release/git" ], - "branches": ["+([0-9])?(.{+([0-9]),x}).x", "master", {"name": "next", "prerelease": true}, {"name": "ci/use-semantic-release", "channel": "test", "prerelease": "test"}] + "branches": ["+([0-9])?(.{+([0-9]),x}).x", "master", {"name": "next", "prerelease": true}] } \ No newline at end of file